toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final end = this.end;
  final start = this.start;
  return {
    'end': end,
    'start': start,
  };
}