optionalToJson method Null safety

  1. @override
int? optionalToJson(
  1. DateTime? dateTime
)
override

Implementation

@override
int? optionalToJson(DateTime? dateTime) =>
    writeOptionalDateTimeMilliseconds(dateTime);