VectorDefinition class
- Mixed in types
- Annotations
-
- @MappableClass(hook: VectorDefinitionHook())
Constructors
- VectorDefinition(int x, int y)
-
const
- VectorDefinition.fromDisplay(String displayString)
-
factory
Properties
-
copyWith
→ VectorDefinitionCopyWith<
VectorDefinition, VectorDefinition, VectorDefinition> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → int
-
final
- y → int
-
final
Methods
-
inBounds(
VectorDefinition first, VectorDefinition last) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDisplayString(
) → String -
toJson(
) → String -
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator +(
VectorDefinition other) → dynamic -
operator -(
VectorDefinition other) → dynamic -
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- one → const VectorDefinition
- zero → const VectorDefinition