parse method
Implementation
Future<List<Point3D>> parse(String data) async {
return data
.split('\n')
.map((line) => line.split(','))
.where((element) => element.length == 3)
.map((e) =>
Vector3(double.parse(e[0]), double.parse(e[2]), double.parse(e[1])))
.map((e) => Point3D(e))
.toList();
}