VideoSelector.fromJson constructor
Implementation
factory VideoSelector.fromJson(Map<String, dynamic> json) {
return VideoSelector(
colorSpace: (json['colorSpace'] as String?)?.toVideoSelectorColorSpace(),
colorSpaceUsage: (json['colorSpaceUsage'] as String?)
?.toVideoSelectorColorSpaceUsage(),
selectorSettings: json['selectorSettings'] != null
? VideoSelectorSettings.fromJson(
json['selectorSettings'] as Map<String, dynamic>)
: null,
);
}