MaskPosition.fromJson constructor
Creates a MaskPosition object from a JSON map
Implementation
factory MaskPosition.fromJson(Map<String, dynamic> json) {
return MaskPosition(
point: MaskPositionPoint.fromJson(json['point']),
xShift: json['x_shift'] as double,
yShift: json['y_shift'] as double,
scale: json['scale'] as double,
);
}