PlayReadyDrm.fromJson constructor

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

Implementation

factory PlayReadyDrm.fromJson(Map<String, dynamic> json) {
  return PlayReadyDrm(
    format: json['Format'] as String?,
    initializationVector: json['InitializationVector'] as String?,
    key: json['Key'] as String?,
    keyId: json['KeyId'] as String?,
    keyMd5: json['KeyMd5'] as String?,
    licenseAcquisitionUrl: json['LicenseAcquisitionUrl'] as String?,
  );
}