GenericHelp<T> class
Helper utilities for working with the generic type argument T
.
- Implemented types
- Annotations
-
- @immutable
Constructors
Properties
-
generic
→ GenericHelp<
T> -
Helper utilities for working with the generic type argument
T
.no setteroverride - hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Type
-
T
as a Type object.no setter - typeNull → Type
-
T
as a nullable Type object.no setter
Methods
-
callWithType<
O> (O callback< P>() ) → O -
Executes a generic callback with the generic type parameter as
T
. Returns the object returned by the callback. -
isEqualToType<
O> () → bool -
Returns true if
O
is equal toT
, false otherwise. -
isValueOfType(
Object? value) → bool -
Returns true if
value
is of typeT
, false otherwise. -
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.
override