toJson method
Creates a json from the object
Implementation
Map toJson() {
return {
'point': point,
'x_shift': xShift,
'y_shift': yShift,
'scale': scale,
}..removeWhere((_, v) => v == null);
}
Creates a json from the object
Map toJson() {
return {
'point': point,
'x_shift': xShift,
'y_shift': yShift,
'scale': scale,
}..removeWhere((_, v) => v == null);
}