InstanceReference.fromJson constructor

InstanceReference.fromJson(
  1. Map json_
)

Implementation

InstanceReference.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        project: json_.containsKey('project')
            ? json_['project'] as core.String
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
      );