toContentJson method

  1. @override
Map<String, dynamic> toContentJson()
override

toJson

Implementation

@override
Map<String, dynamic> toContentJson() {
  return <String, dynamic>{
    'startPoint': startPoint?.toJson(),
    'endPoint': endPoint?.toJson(),
    'paint': paint.toJson(),
  };
}