toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (scheduledFor != null) {
    json[r'scheduledFor'] = scheduledFor!.toUtc().toIso8601String();
  }
  return json;
}