CubicTo.fromJson constructor
Implementation
factory CubicTo.fromJson(Map<String, dynamic> data) {
return CubicTo(
data['x1'] as double,
data['y1'] as double,
data['x2'] as double,
data['y2'] as double,
data['x3'] as double,
data['y3'] as double,
);
}