GkeNamespace.fromJson constructor

GkeNamespace.fromJson(
  1. Map json_
)

Implementation

GkeNamespace.fromJson(core.Map json_)
    : this(
        clusterName: json_.containsKey('clusterName')
            ? json_['clusterName'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        namespaceName: json_.containsKey('namespaceName')
            ? json_['namespaceName'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
      );