MysqlSourceConfig.fromJson constructor

MysqlSourceConfig.fromJson(
  1. Map _json
)

Implementation

MysqlSourceConfig.fromJson(core.Map _json)
    : this(
        allowlist: _json.containsKey('allowlist')
            ? MysqlRdbms.fromJson(
                _json['allowlist'] as core.Map<core.String, core.dynamic>)
            : null,
        rejectlist: _json.containsKey('rejectlist')
            ? MysqlRdbms.fromJson(
                _json['rejectlist'] as core.Map<core.String, core.dynamic>)
            : null,
      );