Vector2D class

Annotations
  • @JsonSerializable()

Constructors

Vector2D({required double x, required double y, Space? selector})
Vector2D.fromJson(Map<String, dynamic> json)
factory
Vector2D.fromString({required String x, required String 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
selector Space?
coordinate space selector
final
x double
final
y double
final

Methods

buildXml(XmlBuilder builder, {String tag = 'Vector2D', String namespace = Xmlns.tt}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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