Stream.fromJson constructor
Stream.fromJson(
- Map json_
Implementation
Stream.fromJson(core.Map json_)
: this(
backfillAll: json_.containsKey('backfillAll')
? BackfillAllStrategy.fromJson(
json_['backfillAll'] as core.Map<core.String, core.dynamic>)
: null,
backfillNone: json_.containsKey('backfillNone')
? BackfillNoneStrategy.fromJson(
json_['backfillNone'] as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
customerManagedEncryptionKey:
json_.containsKey('customerManagedEncryptionKey')
? json_['customerManagedEncryptionKey'] as core.String
: null,
destinationConfig: json_.containsKey('destinationConfig')
? DestinationConfig.fromJson(json_['destinationConfig']
as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
errors: json_.containsKey('errors')
? (json_['errors'] as core.List)
.map((value) => Error.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
lastRecoveryTime: json_.containsKey('lastRecoveryTime')
? json_['lastRecoveryTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
sourceConfig: json_.containsKey('sourceConfig')
? SourceConfig.fromJson(
json_['sourceConfig'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);