TableReplicationInfo.fromJson constructor

TableReplicationInfo.fromJson(
  1. Map json_
)

Implementation

TableReplicationInfo.fromJson(core.Map json_)
    : this(
        replicatedSourceLastRefreshTime:
            json_.containsKey('replicatedSourceLastRefreshTime')
                ? json_['replicatedSourceLastRefreshTime'] as core.String
                : null,
        replicationError: json_.containsKey('replicationError')
            ? ErrorProto.fromJson(json_['replicationError']
                as core.Map<core.String, core.dynamic>)
            : null,
        replicationIntervalMs: json_.containsKey('replicationIntervalMs')
            ? json_['replicationIntervalMs'] as core.String
            : null,
        replicationStatus: json_.containsKey('replicationStatus')
            ? json_['replicationStatus'] as core.String
            : null,
        sourceTable: json_.containsKey('sourceTable')
            ? TableReference.fromJson(
                json_['sourceTable'] as core.Map<core.String, core.dynamic>)
            : null,
      );