toJson method
- @override
override
Implementation
@override
Map<String, Object?> toJson() => {
'kind': 'datetime',
'unit': unit.jsonName,
if (timeZone != null) 'timeZone': timeZone,
};
@override
Map<String, Object?> toJson() => {
'kind': 'datetime',
'unit': unit.jsonName,
if (timeZone != null) 'timeZone': timeZone,
};