toMap method

dynamic toMap()

Implementation

toMap() {
  return {
    "location": location,
    "subLocation": subLocation,
    "x": x,
    "y": y,
  };
}