TypeObject<T> class

Wrapper class for holding typed objects. Provides type safety when working with generic containers.

Implementers

Constructors

TypeObject.new(T obj)
Creates a TypeObject wrapping the given object
const

Properties

hashCode int
The hash code for this object.
no setterinherited
obj → T
The wrapped object
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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