PostgresqlSourceConfig.fromJson constructor

PostgresqlSourceConfig.fromJson(
  1. Map json_
)

Implementation

PostgresqlSourceConfig.fromJson(core.Map json_)
    : this(
        excludeObjects: json_.containsKey('excludeObjects')
            ? PostgresqlRdbms.fromJson(json_['excludeObjects']
                as core.Map<core.String, core.dynamic>)
            : null,
        includeObjects: json_.containsKey('includeObjects')
            ? PostgresqlRdbms.fromJson(json_['includeObjects']
                as core.Map<core.String, core.dynamic>)
            : null,
        maxConcurrentBackfillTasks:
            json_.containsKey('maxConcurrentBackfillTasks')
                ? json_['maxConcurrentBackfillTasks'] as core.int
                : null,
        publication: json_.containsKey('publication')
            ? json_['publication'] as core.String
            : null,
        replicationSlot: json_.containsKey('replicationSlot')
            ? json_['replicationSlot'] as core.String
            : null,
      );