ReplicationSpec.fromJson constructor

ReplicationSpec.fromJson(
  1. Map json_
)

Implementation

ReplicationSpec.fromJson(core.Map json_)
    : this(
        gcsDataSink: json_.containsKey('gcsDataSink')
            ? GcsData.fromJson(
                json_['gcsDataSink'] as core.Map<core.String, core.dynamic>)
            : null,
        gcsDataSource: json_.containsKey('gcsDataSource')
            ? GcsData.fromJson(
                json_['gcsDataSource'] as core.Map<core.String, core.dynamic>)
            : null,
        objectConditions: json_.containsKey('objectConditions')
            ? ObjectConditions.fromJson(json_['objectConditions']
                as core.Map<core.String, core.dynamic>)
            : null,
        transferOptions: json_.containsKey('transferOptions')
            ? TransferOptions.fromJson(json_['transferOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
      );