toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final mlUserDataEncryptionMode = this.mlUserDataEncryptionMode;
  final kmsKeyId = this.kmsKeyId;
  return {
    'MlUserDataEncryptionMode': mlUserDataEncryptionMode.toValue(),
    if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
  };
}