toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'id': id.toString(),
'width': width,
'height': height,
'codec': codec,
'hls_file': hlsFile?.toJson(),
'video': video?.toJson(),
'@type': constructor,
};