A velocity in two dimensions.
Constants
Constructors
Properties
- hashCode → int
-
read-only
- pixelsPerSecond → Offset
-
The number of pixels per second of velocity in the x and y directions.
read-only - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator +(
Velocity other) → Velocity -
Return the sum of two velocities.
-
operator -(
Velocity other) → Velocity -
Return the difference of two velocities.
-
operator ==(
other) → bool -
The equality operator.
-
operator unary-(
) → Velocity -
Return the negation of a velocity.
Methods
-
toString(
) → String -
Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited