toMap method

Map<String, double> toMap()

Implementation

Map<String, double> toMap() {
  return {
    "north": north,
    "east": east,
    "west": west,
    "south": south,
  };
}