NotificationSetting.fromJson constructor
NotificationSetting.fromJson(
- Map json_
Implementation
NotificationSetting.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
notificationTypes: json_.containsKey('notificationTypes')
? (json_['notificationTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
pubsubTopic: json_.containsKey('pubsubTopic')
? json_['pubsubTopic'] as core.String
: null,
);