DestinationConfig.fromJson constructor

DestinationConfig.fromJson(
  1. Map json_
)

Implementation

DestinationConfig.fromJson(core.Map json_)
    : this(
        bigqueryDestinationConfig:
            json_.containsKey('bigqueryDestinationConfig')
                ? BigQueryDestinationConfig.fromJson(
                    json_['bigqueryDestinationConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        destinationConnectionProfile:
            json_.containsKey('destinationConnectionProfile')
                ? json_['destinationConnectionProfile'] as core.String
                : null,
        gcsDestinationConfig: json_.containsKey('gcsDestinationConfig')
            ? GcsDestinationConfig.fromJson(json_['gcsDestinationConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );