toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (bottom != null) {
    _json["bottom"] = bottom;
  }
  if (left != null) {
    _json["left"] = left;
  }
  if (right != null) {
    _json["right"] = right;
  }
  if (top != null) {
    _json["top"] = top;
  }
  return _json;
}