toJson method
Returns a json representation of an instance of StrokePoint.
Implementation
Map<String, dynamic> toJson() => {
'x': x,
'y': y,
't': t,
};
Returns a json representation of an instance of StrokePoint.
Map<String, dynamic> toJson() => {
'x': x,
'y': y,
't': t,
};