HlsEncryption.fromJson constructor
Implementation
factory HlsEncryption.fromJson(Map<String, dynamic> json) {
return HlsEncryption(
spekeKeyProvider: SpekeKeyProvider.fromJson(
json['spekeKeyProvider'] as Map<String, dynamic>),
constantInitializationVector:
json['constantInitializationVector'] as String?,
encryptionMethod:
(json['encryptionMethod'] as String?)?.toEncryptionMethod(),
);
}