toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allocatedAssetCount != null)
        'allocatedAssetCount': allocatedAssetCount!,
      if (allocatedRegions != null) 'allocatedRegions': allocatedRegions!,
      if (nodeAllocations != null) 'nodeAllocations': nodeAllocations!,
    };