toJson method
Implementation
Map<String, dynamic> toJson() {
final _resultData = <String, dynamic>{};
final l$allTimesHighConsumption = allTimesHighConsumption;
_resultData['allTimesHighConsumption'] = l$allTimesHighConsumption;
final l$allTimesHighProduction = allTimesHighProduction;
_resultData['allTimesHighProduction'] = l$allTimesHighProduction;
final l$hasProduction = hasProduction;
_resultData['hasProduction'] = l$hasProduction;
final l$blinksPerKwh = blinksPerKwh;
_resultData['blinksPerKwh'] = l$blinksPerKwh;
final l$errorCode = errorCode;
_resultData['errorCode'] = l$errorCode;
final l$rmsCurrentMaxPerPhaseAmpere = rmsCurrentMaxPerPhaseAmpere;
_resultData['rmsCurrentMaxPerPhaseAmpere'] = l$rmsCurrentMaxPerPhaseAmpere;
final l$consumptionAlarmMaxWh = consumptionAlarmMaxWh;
_resultData['consumptionAlarmMaxWh'] = l$consumptionAlarmMaxWh;
final l$deviceType = deviceType;
_resultData['deviceType'] = l$deviceType?.toJson();
final l$remoteDevices = remoteDevices;
_resultData['remoteDevices'] = l$remoteDevices
?.map((e) => e.toJson())
.toList();
final l$baseDevice = baseDevice;
_resultData['baseDevice'] = l$baseDevice?.toJson();
final l$$__typename = $__typename;
_resultData['__typename'] = l$$__typename;
return _resultData;
}