serializeDateTimeAsDate function

void serializeDateTimeAsDate()

Implementation

void serializeDateTimeAsDate() {
  serializers['dateTime:RFC3339'] =
      (String x) => (x == '' ? null : DateTime.parse(x));
}