toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'date': date.toIso8601String(),
    'startDate': start.toIso8601String(),
    'endDate': end.toIso8601String(),
  };
}