MLUserDataEncryption.fromJson constructor

MLUserDataEncryption.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MLUserDataEncryption.fromJson(Map<String, dynamic> json) {
  return MLUserDataEncryption(
    mlUserDataEncryptionMode: (json['MlUserDataEncryptionMode'] as String)
        .toMLUserDataEncryptionModeString(),
    kmsKeyId: json['KmsKeyId'] as String?,
  );
}