toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endMinutes != null) 'endMinutes': endMinutes!,
      if (freezePeriods != null) 'freezePeriods': freezePeriods!,
      if (startMinutes != null) 'startMinutes': startMinutes!,
      if (type != null) 'type': type!,
    };