Notifications.fromJson constructor
Notifications.fromJson(
- Map json_
Implementation
Notifications.fromJson(core.Map json_)
: this(
expiryNotification:
json_.containsKey('expiryNotification')
? ExpiryNotification.fromJson(
json_['expiryNotification']
as core.Map<core.String, core.dynamic>,
)
: null,
upcomingNotification:
json_.containsKey('upcomingNotification')
? UpcomingNotification.fromJson(
json_['upcomingNotification']
as core.Map<core.String, core.dynamic>,
)
: null,
);