ScopeGet class abstract
ScopeGet
is an interface that expose scope.getOrNull
and scope.has
methods.
- Implementers
- Available Extensions
Constructors
- ScopeGet()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getOrNull<
T> ({Object? name}) → T? -
Use
scope.getOrNull<T>(...)
to safely resolve instance. This method will returnnull
when instance is not exposed: -
has<
T> ({Object? name}) → bool -
Use
scope.has<T>(...)
to check if instance has been exposed: -
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