toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (disableProxyAccess != null)
        'disableProxyAccess': disableProxyAccess!,
      if (gceSetup != null) 'gceSetup': gceSetup!,
      if (healthInfo != null) 'healthInfo': healthInfo!,
      if (healthState != null) 'healthState': healthState!,
      if (id != null) 'id': id!,
      if (instanceOwners != null) 'instanceOwners': instanceOwners!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (proxyUri != null) 'proxyUri': proxyUri!,
      if (state != null) 'state': state!,
      if (thirdPartyProxyUrl != null)
        'thirdPartyProxyUrl': thirdPartyProxyUrl!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (upgradeHistory != null) 'upgradeHistory': upgradeHistory!,
    };