EventTrigger.fromJson constructor
EventTrigger.fromJson(
- Map _json
Implementation
EventTrigger.fromJson(core.Map _json)
: this(
eventFilters: _json.containsKey('eventFilters')
? (_json['eventFilters'] as core.List)
.map((value) => EventFilter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
eventType: _json.containsKey('eventType')
? _json['eventType'] as core.String
: null,
pubsubTopic: _json.containsKey('pubsubTopic')
? _json['pubsubTopic'] as core.String
: null,
retryPolicy: _json.containsKey('retryPolicy')
? _json['retryPolicy'] as core.String
: null,
serviceAccountEmail: _json.containsKey('serviceAccountEmail')
? _json['serviceAccountEmail'] as core.String
: null,
trigger: _json.containsKey('trigger')
? _json['trigger'] as core.String
: null,
triggerRegion: _json.containsKey('triggerRegion')
? _json['triggerRegion'] as core.String
: null,
);