NonNullableObservable<VT extends Object> class
VT ・・・ ValueType
値を動的に保持するが、null を許可しない。
- Inheritance
-
- Object
- Concept
- Complement
- NonNullableObservable
Constructors
- NonNullableObservable(VT value)
- 単一の subscribe のみ可能。
- NonNullableObservable.broadcast(VT value)
- 複数の subscribe が可能。
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ VT
-
getter/setter pair
Methods
-
next(
VT value) → void - 引数に渡した値を value に格納する。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stream(
) → void - value に格納された値を stream する。
-
subscribe(
void function(VT event)) → StreamSubscription< VT> - subscribe する。 stream() が実行されるたびに、subscribe に渡した function が実行される。
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
toString() の値を比較する。
override