toMap method
Converts to a JSON-serializable map.
Implementation
JsonMap toMap() => {
'previous': previous.toMap(),
'current': current.toMap(),
'changeType': changeType.name,
'timestamp': timestamp.toIso8601String(),
};
Converts to a JSON-serializable map.
JsonMap toMap() => {
'previous': previous.toMap(),
'current': current.toMap(),
'changeType': changeType.name,
'timestamp': timestamp.toIso8601String(),
};