toMap method

dynamic toMap()

Implementation

toMap() {
  return {
    "id": id,
    "location": location,
    "subLocation": subLocation,
    "major": major,
    "minor": minor,
    "uuid": uuid,
    "name": name,
    "power": power,
    "x": x,
    "y": y,
    "battery": battery,
    "isUsed": isUsed,
  };
}