toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() {
  return {
    'x': x,
    'y': y,
    'width': width,
    'height': height,
    'left': left,
    'top': top,
    'right': right,
    'bottom': bottom
  };
}