call method

Line call(
  1. dynamic point1,
  2. dynamic point2
)

Implementation

Line call(point1, point2) {
  return Line([point1, point2]);
}