HlsContentProtection.fromJson constructor

HlsContentProtection.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HlsContentProtection.fromJson(Map<String, dynamic> json) {
  return HlsContentProtection(
    initializationVector: json['InitializationVector'] as String?,
    key: json['Key'] as String?,
    keyMd5: json['KeyMd5'] as String?,
    keyStoragePolicy: json['KeyStoragePolicy'] as String?,
    licenseAcquisitionUrl: json['LicenseAcquisitionUrl'] as String?,
    method: json['Method'] as String?,
  );
}