toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'store': store,
  'class': id,
  'device': device.id,
  'width': canvas.width,
  'height': canvas.height,
};