NullablePoint class

A two-dimensional cartesian coordinate pair with potentially null coordinate values.

Constructors

NullablePoint(double? x, double? y)
Creates a point with the provided x and y coordinates.
const
NullablePoint.from(Point<double>? point)
Creates a NullablePoint from a Point.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double?
final
y double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPoint() Point<double>
Converts this to a Point.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
Whether other is a point with the same coordinates as this point.
override