DistancedPosition<T extends Position> class

An object containing position that is within distance from something.

Annotations

Constructors

DistancedPosition(T position, double distance)
An object containing position that is within distance from something.
const

Properties

distance double
The distance between the reference position and something.
final
hashCode int
The hash code for this object.
no setteroverride
position → T
The reference position.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override