toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'x': x,
    'y': y,
    'sizeX': sizeX,
    'sizeY': sizeY,
    'data': data,
  };
}