ClosedVectorPath.fromJson constructor
Parse from a json
Implementation
factory ClosedVectorPath.fromJson(Map<String, dynamic> json) =>
ClosedVectorPath(
commands: List<VectorPathCommand>.from((json['commands'] ?? [])
.map((item) => VectorPathCommand.fromJson(item))
.toList()),
);