Opaque class
Wrap an type and make it opaque by not exposing and allowing only usages to it with specific operations defined in the library that defined this type using the member named _unwrap.
Optionally the unnamed constructor can be exposed, with exposeConstructor in case an const constructor is needed.
This is the mostly equal to Record with the body {#_unwrap: type}
Properties
- exposeConstructor → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TypeD
-
final
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