Instance.fromJson constructor

Instance.fromJson(
  1. Map json_
)

Implementation

Instance.fromJson(core.Map json_)
    : this(
        appEngineRelease: json_.containsKey('appEngineRelease')
            ? json_['appEngineRelease'] as core.String
            : null,
        availability: json_.containsKey('availability')
            ? json_['availability'] as core.String
            : null,
        averageLatency: json_.containsKey('averageLatency')
            ? json_['averageLatency'] as core.int
            : null,
        errors:
            json_.containsKey('errors') ? json_['errors'] as core.int : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        memoryUsage: json_.containsKey('memoryUsage')
            ? json_['memoryUsage'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        qps: json_.containsKey('qps')
            ? (json_['qps'] as core.num).toDouble()
            : null,
        requests: json_.containsKey('requests')
            ? json_['requests'] as core.int
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        vmDebugEnabled: json_.containsKey('vmDebugEnabled')
            ? json_['vmDebugEnabled'] as core.bool
            : null,
        vmId: json_.containsKey('vmId') ? json_['vmId'] as core.String : null,
        vmIp: json_.containsKey('vmIp') ? json_['vmIp'] as core.String : null,
        vmLiveness: json_.containsKey('vmLiveness')
            ? json_['vmLiveness'] as core.String
            : null,
        vmName: json_.containsKey('vmName')
            ? json_['vmName'] as core.String
            : null,
        vmStatus: json_.containsKey('vmStatus')
            ? json_['vmStatus'] as core.String
            : null,
        vmZoneName: json_.containsKey('vmZoneName')
            ? json_['vmZoneName'] as core.String
            : null,
      );