toJson method
Implementation
Map<String, dynamic> toJson() => {
"height": height,
"id": id,
"stack": stack,
"path": path,
"positionX": positionX,
"positionY": positionY,
"width": width,
"type": type,
"text": text,
"fileSourceType": fileSourceType,
"isOffline": isOffline ?? false,
};