Scope class

The Scope class provides functionality to perform an action on the end of the operation. Requires a _pointerManager object and an _errorMessage object.

Implemented types

Constructors

Scope(IErrorMessage _errorMessage)
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onExit<T, E extends TGNApiException>(int status, T onDone(), void onFinally()?) → T
Checks the status of the operation and throws an exception if it is not successful. If the operation is successful, returns the result of the onDone function. Guarantees onFinally function execution.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited