convertToMap method

Map convertToMap()

Implementation

Map convertToMap() {
  return {
    "userId": userId,
    "x": x.toString(),
    "y": y.toString(),
    "width": width.toString(),
    "height": height.toString(),
    "zOrder": zOrder.toString(),
  };
}