toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('instant')) {
    final l$instant = instant;
    result$data['instant'] = l$instant;
  }
  if (_$data.containsKey('schedule')) {
    final l$schedule = schedule;
    result$data['schedule'] = l$schedule?.toJson();
  }
  return result$data;
}