ResourceScope class abstract
ResourceScope is the interface for all scopes.
Constructors
Properties
Methods
-
beginSpan(
) → Future< ResourceScopeSpan> - BeginSpan creates a new span scope rooted at this scope.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
releaseMemory(
int size) → void - ReleaseMemory explicitly releases memory previously reserved with ReserveMemory.
-
reserveMemory(
int size, int priority) → Future< void> - ReserveMemory reserves memory/buffer space in the scope; the unit is bytes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited