toJson method
Converts a MaskPosition object to a JSON map
Implementation
Map<String, dynamic> toJson() {
return {
'point': point.toJson(),
'x_shift': xShift,
'y_shift': yShift,
'scale': scale,
};
}
Converts a MaskPosition object to a JSON map
Map<String, dynamic> toJson() {
return {
'point': point.toJson(),
'x_shift': xShift,
'y_shift': yShift,
'scale': scale,
};
}