optionalToJson method Null safety
- DateTime? dateTime
override
Implementation
@override
int? optionalToJson(DateTime? dateTime) =>
writeOptionalDateTimeMilliseconds(dateTime);
@override
int? optionalToJson(DateTime? dateTime) =>
writeOptionalDateTimeMilliseconds(dateTime);