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(json['start_control_point'] as Map<String, dynamic>?)!,
endControlPoint:
Point.fromJson(json['end_control_point'] as Map<String, dynamic>?)!,
endPoint: Point.fromJson(json['end_point'] as Map<String, dynamic>?)!,
);
}