toMap method

  1. @override
Map<String, Object> toMap ()
override

model -> map

Implementation

@override
Map<String, Object> toMap() {
  return {
    'top': this.top,
    'left': this.left,
    'bottom': this.bottom,
    'right': this.right
  };
}