toContentJson method
toJson
Implementation
@override
Map<String, dynamic> toContentJson() {
return <String, dynamic>{
'brushPrecision': brushPrecision,
'points': points.map((Offset e) => e.toJson()).toList(),
'strokeWidthList': strokeWidthList,
'paint': paint.toJson(),
};
}