tin method Null safety

List<Triangle> tin(
  1. List<Point<num>> polygon
)

Implementation

List<Triangle> tin(List<Point> polygon) {
  assert(polygon.length >= 3);
  return [];
}