ScopedValue<TResult> class abstract

Class for extensions to manage state.

After managing the state, return an object of TResult.

Implement the relevant state with ScopedValueState and create it with createState.

状態を管理するための拡張用のクラス。

状態を管理した後TResultのオブジェクトを返すようにします。

関連するステートをScopedValueStateで実装しcreateStateで作成します。

Annotations

Constructors

ScopedValue()
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

createState() ScopedValueState<TResult, ScopedValue<TResult>>
Creates and returns the associated state.
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