fromMap method
Returns null if invalid mapData is provided
Implementation
@override
NotificationSchedule? fromMap(Map<String, dynamic> mapData) {
timeZone = LocalAssertUtils.extractValue(
NOTIFICATION_SCHEDULE_TIMEZONE, mapData, String) ??
false;
allowWhileIdle = LocalAssertUtils.extractValue(
NOTIFICATION_ALLOW_WHILE_IDLE, mapData, bool) ??
false;
repeats = LocalAssertUtils.extractValue(
NOTIFICATION_SCHEDULE_REPEATS, mapData, bool) ??
false;
preciseAlarm = LocalAssertUtils.extractValue(
NOTIFICATION_SCHEDULE_PRECISE_ALARM, mapData, bool) ??
false;
return this;
}