SourceConfig.fromJson constructor
SourceConfig.fromJson(
- Map json_
Implementation
SourceConfig.fromJson(core.Map json_)
: this(
mysqlSourceConfig: json_.containsKey('mysqlSourceConfig')
? MysqlSourceConfig.fromJson(json_['mysqlSourceConfig']
as core.Map<core.String, core.dynamic>)
: null,
oracleSourceConfig: json_.containsKey('oracleSourceConfig')
? OracleSourceConfig.fromJson(json_['oracleSourceConfig']
as core.Map<core.String, core.dynamic>)
: null,
postgresqlSourceConfig: json_.containsKey('postgresqlSourceConfig')
? PostgresqlSourceConfig.fromJson(json_['postgresqlSourceConfig']
as core.Map<core.String, core.dynamic>)
: null,
sourceConnectionProfile: json_.containsKey('sourceConnectionProfile')
? json_['sourceConnectionProfile'] as core.String
: null,
sqlServerSourceConfig: json_.containsKey('sqlServerSourceConfig')
? SqlServerSourceConfig.fromJson(json_['sqlServerSourceConfig']
as core.Map<core.String, core.dynamic>)
: null,
);