PrimaryInstance<T> class
abstract
An abstract representation of a instance creating a primary datatype like int, double, num, String or enums
- Inheritance
-
- Object
- BaseInstance
- PrimaryInstance
- Implementers
Constructors
- PrimaryInstance.new({required T value})
-
Creates a new instance of PrimaryInstance
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
The value of the PrimaryInstance
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCode(
) → String -
Transforms the BaseInstance or its implementation into Code (a String)
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override