CaptionSource.fromJson constructor
Implementation
factory CaptionSource.fromJson(Map<String, dynamic> json) {
return CaptionSource(
encryption: json['Encryption'] != null
? Encryption.fromJson(json['Encryption'] as Map<String, dynamic>)
: null,
key: json['Key'] as String?,
label: json['Label'] as String?,
language: json['Language'] as String?,
timeOffset: json['TimeOffset'] as String?,
);
}