Scope.fromJson constructor

Scope.fromJson(
  1. Map json_
)

Implementation

Scope.fromJson(core.Map json_)
    : this(
        kubernetesNamespace: json_.containsKey('kubernetesNamespace')
            ? json_['kubernetesNamespace'] as core.String
            : null,
        kubernetesServiceAccount:
            json_.containsKey('kubernetesServiceAccount')
                ? json_['kubernetesServiceAccount'] as core.String
                : null,
      );