toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final reminderAtMinutes = this.reminderAtMinutes;
  final reminderType = this.reminderType;
  return {
    if (enabled != null) 'Enabled': enabled,
    if (reminderAtMinutes != null) 'ReminderAtMinutes': reminderAtMinutes,
    if (reminderType != null) 'ReminderType': reminderType.toValue(),
  };
}