fromJson static method
Inherited by: VectorPathCommandCubicBezierCurve VectorPathCommandLine
Implementation
static VectorPathCommandCubicBezierCurve? fromJson(
Map<String, dynamic>? json,
) {
if (json == null) {
return null;
}
return VectorPathCommandCubicBezierCurve(
startControlPoint: Point.fromJson(
tdMapFromJson(json['start_control_point']),
),
endControlPoint: Point.fromJson(tdMapFromJson(json['end_control_point'])),
endPoint: Point.fromJson(tdMapFromJson(json['end_point'])),
);
}