GKE.fromJson constructor

GKE.fromJson(
  1. Map json_
)

Implementation

GKE.fromJson(core.Map json_)
    : this(
        cluster: json_.containsKey('cluster')
            ? json_['cluster'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        namespace: json_.containsKey('namespace')
            ? json_['namespace'] as core.String
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        service: json_.containsKey('service')
            ? json_['service'] as core.String
            : null,
      );