toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final format = this.format;
  final initializationVector = this.initializationVector;
  final key = this.key;
  final keyId = this.keyId;
  final keyMd5 = this.keyMd5;
  final licenseAcquisitionUrl = this.licenseAcquisitionUrl;
  return {
    if (format != null) 'Format': format,
    if (initializationVector != null)
      'InitializationVector': initializationVector,
    if (key != null) 'Key': key,
    if (keyId != null) 'KeyId': keyId,
    if (keyMd5 != null) 'KeyMd5': keyMd5,
    if (licenseAcquisitionUrl != null)
      'LicenseAcquisitionUrl': licenseAcquisitionUrl,
  };
}