toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cpuPlatform != null) 'cpuPlatform': cpuPlatform!,
  if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
  if (deprecated != null) 'deprecated': deprecated!,
  if (description != null) 'description': description!,
  if (guestCpus != null) 'guestCpus': guestCpus!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (localSsdGb != null) 'localSsdGb': localSsdGb!,
  if (maxVms != null) 'maxVms': maxVms!,
  if (memoryMb != null) 'memoryMb': memoryMb!,
  if (name != null) 'name': name!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (zone != null) 'zone': zone!,
};