ReminderScheduled.fromJson constructor
ReminderScheduled.fromJson(
- Map<String, dynamic> json
)
Implementation
ReminderScheduled.fromJson(Map<String, dynamic> json) {
id = json['id'];
datetime = json['datetime'];
if (json['reminderType'] != null) {
reminderType = ReminderType.fromJson(json['reminderType']);
}
comment = json['comment'];
dayOfWeek = json['dayOfWeek']?.map<int>((e) => e as int).toList();
from = json['from'];
loopModeDate = json['loopModeDate'];
loopModeRepetitive = json['loopModeRepetitive'];
to = json['to'];
typeSchedule = json['typeSchedule'];
}