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,
      );