PubsubLocation.fromJson constructor
PubsubLocation.fromJson(
- Map json_
Implementation
PubsubLocation.fromJson(core.Map json_)
: this(
dropLateData: json_.containsKey('dropLateData')
? json_['dropLateData'] as core.bool
: null,
dynamicDestinations: json_.containsKey('dynamicDestinations')
? json_['dynamicDestinations'] as core.bool
: null,
idLabel: json_.containsKey('idLabel')
? json_['idLabel'] as core.String
: null,
subscription: json_.containsKey('subscription')
? json_['subscription'] as core.String
: null,
timestampLabel: json_.containsKey('timestampLabel')
? json_['timestampLabel'] as core.String
: null,
topic:
json_.containsKey('topic') ? json_['topic'] as core.String : null,
trackingSubscription: json_.containsKey('trackingSubscription')
? json_['trackingSubscription'] as core.String
: null,
withAttributes: json_.containsKey('withAttributes')
? json_['withAttributes'] as core.bool
: null,
);