toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"errorCode": errorCode.toMap(),
"labelId": labelId,
"labelType": labelType ,
"isACConnected": isACConnected.toMap(),
"isBatteryMounted": isBatteryMounted.toMap(),
"batteryLevel": batteryLevel,
"batteryResidualQuantityLevel": batteryResidualQuantityLevel,
"maxOfBatteryResidualQuantityLevel": maxOfBatteryResidualQuantityLevel
};
}