Vector class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

Vector.new({num? x, num? y})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x num

Available on Vector, provided by the Vector$Typings extension

no setter
y num

Available on Vector, provided by the Vector$Typings extension

no setter

Methods

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

Operators

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