toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'vectorPathCommandCubicBezierCurve',
    if (extra != null) '@extra': extra,
    'start_control_point': start_control_point,
    'end_control_point': end_control_point,
    'end_point': end_point
  };
}