VideoFileDetailsVideoStream.fromJson constructor
VideoFileDetailsVideoStream.fromJson(
- Map json_
Implementation
VideoFileDetailsVideoStream.fromJson(core.Map json_)
: this(
aspectRatio: json_.containsKey('aspectRatio')
? (json_['aspectRatio'] as core.num).toDouble()
: null,
bitrateBps: json_.containsKey('bitrateBps')
? json_['bitrateBps'] as core.String
: null,
codec:
json_.containsKey('codec') ? json_['codec'] as core.String : null,
frameRateFps: json_.containsKey('frameRateFps')
? (json_['frameRateFps'] as core.num).toDouble()
: null,
heightPixels: json_.containsKey('heightPixels')
? json_['heightPixels'] as core.int
: null,
rotation: json_.containsKey('rotation')
? json_['rotation'] as core.String
: null,
vendor: json_.containsKey('vendor')
? json_['vendor'] as core.String
: null,
widthPixels: json_.containsKey('widthPixels')
? json_['widthPixels'] as core.int
: null,
);