toJson method
Implementation
Map<String, dynamic> toJson() {
final encryptionType = this.encryptionType;
final kMSContext = this.kMSContext;
final kMSKeyId = this.kMSKeyId;
return {
if (encryptionType != null) 'EncryptionType': encryptionType.toValue(),
if (kMSContext != null) 'KMSContext': kMSContext,
if (kMSKeyId != null) 'KMSKeyId': kMSKeyId,
};
}