toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectedProjects != null) 'connectedProjects': connectedProjects!,
      if (ipCidrRange != null) 'ipCidrRange': ipCidrRange!,
      if (machineType != null) 'machineType': machineType!,
      if (maxInstances != null) 'maxInstances': maxInstances!,
      if (maxThroughput != null) 'maxThroughput': maxThroughput!,
      if (minInstances != null) 'minInstances': minInstances!,
      if (minThroughput != null) 'minThroughput': minThroughput!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (state != null) 'state': state!,
      if (subnet != null) 'subnet': subnet!,
    };