PubsubNotificationSettings.fromJson constructor
PubsubNotificationSettings.fromJson(
- Map json_
Implementation
PubsubNotificationSettings.fromJson(core.Map json_)
: this(
cloudTopicName: json_.containsKey('cloudTopicName')
? json_['cloudTopicName'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
registeredEvents: json_.containsKey('registeredEvents')
? (json_['registeredEvents'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);