LiveStream.fromJson constructor
LiveStream.fromJson(
- Map json_
Implementation
LiveStream.fromJson(core.Map json_)
: this(
cdn: json_.containsKey('cdn')
? CdnSettings.fromJson(
json_['cdn'] as core.Map<core.String, core.dynamic>)
: null,
contentDetails: json_.containsKey('contentDetails')
? LiveStreamContentDetails.fromJson(json_['contentDetails']
as core.Map<core.String, core.dynamic>)
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
snippet: json_.containsKey('snippet')
? LiveStreamSnippet.fromJson(
json_['snippet'] as core.Map<core.String, core.dynamic>)
: null,
status: json_.containsKey('status')
? LiveStreamStatus.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
);