toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'start': start.toJson(),
  'end': end.toJson(),
};