toJson method

Map<String, dynamic> toJson()

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,
  };
}