DatabaseConfiguration.fromJson constructor
DatabaseConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DatabaseConfiguration.fromJson(Map<String, dynamic> json) {
return DatabaseConfiguration(
columnConfiguration: ColumnConfiguration.fromJson(
json['ColumnConfiguration'] as Map<String, dynamic>),
connectionConfiguration: ConnectionConfiguration.fromJson(
json['ConnectionConfiguration'] as Map<String, dynamic>),
databaseEngineType:
(json['DatabaseEngineType'] as String).toDatabaseEngineType(),
aclConfiguration: json['AclConfiguration'] != null
? AclConfiguration.fromJson(
json['AclConfiguration'] as Map<String, dynamic>)
: null,
sqlConfiguration: json['SqlConfiguration'] != null
? SqlConfiguration.fromJson(
json['SqlConfiguration'] as Map<String, dynamic>)
: null,
vpcConfiguration: json['VpcConfiguration'] != null
? DataSourceVpcConfiguration.fromJson(
json['VpcConfiguration'] as Map<String, dynamic>)
: null,
);
}