toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
"urls": urls == null ? [] : List<dynamic>.from(urls!.map((x) => x)),
'cacheKey': cacheKey,
'vid': vid,
"urlExpiredTimes": urlExpiredTimes == null ? [] : List<dynamic>.from(urlExpiredTimes!.map((x) => x)),
'isHDRSource': isHDRSource,
'encodeType': encodeType.idx,
'sourceType': sourceType.index,
'playAuth': playAuth,
};