toJson method
Allows you to serialize object.
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> result = {};
result["bottom"] = bottom;
result["top"] = top;
result["left"] = left;
result["right"] = right;
return result;
}