VectorPathCommandCubicBezierCurve.fromJson constructor
Parses a VectorPathCommandCubicBezierCurve from TDLib JSON.
Implementation
factory VectorPathCommandCubicBezierCurve.fromJson(
Map<String, dynamic> json,
) => VectorPathCommandCubicBezierCurve(
startControlPoint: _readObject(json['start_control_point'], Point.fromJson),
endControlPoint: _readObject(json['end_control_point'], Point.fromJson),
endPoint: _readObject(json['end_point'], Point.fromJson),
);