JobInput.fromJson constructor
JobInput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory JobInput.fromJson(Map<String, dynamic> json) {
return JobInput(
aspectRatio: json['AspectRatio'] as String?,
container: json['Container'] as String?,
detectedProperties: json['DetectedProperties'] != null
? DetectedProperties.fromJson(
json['DetectedProperties'] as Map<String, dynamic>)
: null,
encryption: json['Encryption'] != null
? Encryption.fromJson(json['Encryption'] as Map<String, dynamic>)
: null,
frameRate: json['FrameRate'] as String?,
inputCaptions: json['InputCaptions'] != null
? InputCaptions.fromJson(
json['InputCaptions'] as Map<String, dynamic>)
: null,
interlaced: json['Interlaced'] as String?,
key: json['Key'] as String?,
resolution: json['Resolution'] as String?,
timeSpan: json['TimeSpan'] != null
? TimeSpan.fromJson(json['TimeSpan'] as Map<String, dynamic>)
: null,
);
}