toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (assetType != null) 'assetType': assetType!,
      if (availableCount != null) 'availableCount': availableCount!,
      if (gcpService != null) 'gcpService': gcpService!,
      if (instanceQuota != null) 'instanceQuota': instanceQuota!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (networkBandwidth != null) 'networkBandwidth': networkBandwidth!,
      if (serverCount != null) 'serverCount': serverCount!,
      if (storageGib != null) 'storageGib': storageGib!,
    };