serialize method

  1. @override
String serialize(
  1. DateTime data
)
override

Serializes the given data into a Serialized object.

Implementation

@override
String serialize(DateTime data) {
  return data.toIso8601String().substring(0, 10);
}