Destination.fromJson constructor

Destination.fromJson(
  1. Map json_
)

Implementation

Destination.fromJson(core.Map json_)
    : this(
        cloudFunction: json_.containsKey('cloudFunction')
            ? json_['cloudFunction'] as core.String
            : null,
        cloudRun: json_.containsKey('cloudRun')
            ? CloudRun.fromJson(
                json_['cloudRun'] as core.Map<core.String, core.dynamic>)
            : null,
        gke: json_.containsKey('gke')
            ? GKE
                .fromJson(json_['gke'] as core.Map<core.String, core.dynamic>)
            : null,
        httpEndpoint: json_.containsKey('httpEndpoint')
            ? HttpEndpoint.fromJson(
                json_['httpEndpoint'] as core.Map<core.String, core.dynamic>)
            : null,
        networkConfig: json_.containsKey('networkConfig')
            ? NetworkConfig.fromJson(
                json_['networkConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        workflow: json_.containsKey('workflow')
            ? json_['workflow'] as core.String
            : null,
      );