ArcTo.fromJson constructor
Implementation
factory ArcTo.fromJson(Map<String, dynamic> data) {
return ArcTo(
rect: jsonToRect(data['rect'] as Map<String, dynamic>),
startAngle: data['startAngle'] as double,
sweepAngle: data['sweepAngle'] as double,
forceMoveTo: data['forceMoveTo'] as bool,
);
}