toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (availabilityLastUpdateTime != null)
        'availabilityLastUpdateTime': availabilityLastUpdateTime!,
      if (availableCount != null) 'availableCount': availableCount!,
      if (count != null) 'count': count!,
      if (maxChargeRateKw != null) 'maxChargeRateKw': maxChargeRateKw!,
      if (outOfServiceCount != null) 'outOfServiceCount': outOfServiceCount!,
      if (type != null) 'type': type!,
    };