SourceConfig.fromJson constructor

SourceConfig.fromJson(
  1. 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,
        sourceConnectionProfileName:
            json_.containsKey('sourceConnectionProfileName')
                ? json_['sourceConnectionProfileName'] as core.String
                : null,
      );