toMap method

Map<String, num> toMap()

Implementation

Map<String, num> toMap() {
  return {
    "top": top,
    "bottom": bottom,
    "left": left,
    "right": right,
  };
}