toJson method
Implementation
Map<String, dynamic> toJson() {
final initializationVector = this.initializationVector;
final key = this.key;
final keyMd5 = this.keyMd5;
final keyStoragePolicy = this.keyStoragePolicy;
final licenseAcquisitionUrl = this.licenseAcquisitionUrl;
final method = this.method;
return {
if (initializationVector != null)
'InitializationVector': initializationVector,
if (key != null) 'Key': key,
if (keyMd5 != null) 'KeyMd5': keyMd5,
if (keyStoragePolicy != null) 'KeyStoragePolicy': keyStoragePolicy,
if (licenseAcquisitionUrl != null)
'LicenseAcquisitionUrl': licenseAcquisitionUrl,
if (method != null) 'Method': method,
};
}