toJson method
Implementation
Map<String, dynamic> toJson() => {
'type': type.name,
'title': title,
'page': page,
'uuid': uuid,
'createDate': createDate?.toString(),
'rect': rect.toString(),
'borderColor': borderColor.toHex(),
'fillColor': fillColor.toHex(),
'borderWidth': borderWidth,
};