toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final carbonFreeEnergyPercentage = this.carbonFreeEnergyPercentage;
  final cloudLocationType = this.cloudLocationType;
  final cloudProvider = this.cloudProvider;
  final containingCloudLocation = this.containingCloudLocation;
  final displayName = this.displayName;
  final name = this.name;
  final territoryCode = this.territoryCode;
  return {
    'carbonFreeEnergyPercentage': ?carbonFreeEnergyPercentage,
    'cloudLocationType': ?cloudLocationType,
    'cloudProvider': ?cloudProvider,
    'containingCloudLocation': ?containingCloudLocation,
    'displayName': ?displayName,
    'name': ?name,
    'territoryCode': ?territoryCode,
  };
}