Point<T extends num> constructor

const Point<T extends num>(
  1. T x,
  2. T y
)

Creates a point with the provided x and y coordinates.

Implementation

const Point(T x, T y)
    : this.x = x,
      this.y = y;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-math/Point/Point.html