DocDbSettings.fromJson constructor
DocDbSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DocDbSettings.fromJson(Map<String, dynamic> json) {
return DocDbSettings(
databaseName: json['DatabaseName'] as String?,
docsToInvestigate: json['DocsToInvestigate'] as int?,
extractDocId: json['ExtractDocId'] as bool?,
kmsKeyId: json['KmsKeyId'] as String?,
nestingLevel: (json['NestingLevel'] as String?)?.toNestingLevelValue(),
password: json['Password'] as String?,
port: json['Port'] as int?,
secretsManagerAccessRoleArn:
json['SecretsManagerAccessRoleArn'] as String?,
secretsManagerSecretId: json['SecretsManagerSecretId'] as String?,
serverName: json['ServerName'] as String?,
username: json['Username'] as String?,
);
}