InstanceSettings.fromJson constructor

InstanceSettings.fromJson(
  1. Map json_
)

Implementation

InstanceSettings.fromJson(core.Map json_)
    : this(
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        metadata: json_.containsKey('metadata')
            ? InstanceSettingsMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );