Video.fromJson constructor
Video.fromJson(
- Map json_
Implementation
Video.fromJson(core.Map json_)
: this(
id: json_.containsKey('id') ? json_['id'] as core.String : null,
source: json_.containsKey('source')
? json_['source'] as core.String
: null,
url: json_.containsKey('url') ? json_['url'] as core.String : null,
videoProperties: json_.containsKey('videoProperties')
? VideoProperties.fromJson(json_['videoProperties']
as core.Map<core.String, core.dynamic>)
: null,
);