toJson method

Map toJson()

Implementation

Map toJson() => {
      'x': dx,
      'y': dy,
      'width': width,
      'height': height,
      'top': top,
      'right': right,
      'bottom': bottom,
      'left': left,
    };