toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'vid': vid,
'playAuthToken': playAuthToken,
'drmLicenseAuthToken': drmLicenseAuthToken,
'certData': certData,
'resolution':
resolution == null ? TTVideoEngineResolutionType.TTVideoEngineResolutionTypeUnknown.idx : resolution?.idx,
'isDash': isDash,
'isHLS': isHLS,
'encodeType': encodeType.index,
'sourceType': sourceType.index,
};