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,
      );