toMap method

Map<String, double> toMap()

Convert the object to Map.

Implementation

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