OnContext class

Object returned when executing on.

If the initOrUpdating process returns Future when it is executed, it can be monitored by initOrUpdating until it is finished.

Use FutureBuilder, for example.

onを実行する際に返されるオブジェクト。

initOrUpdatingの処理を実行した際にFutureを返すようにした場合、それが終了するまでinitOrUpdatingで監視することができます。

FutureBuilderなどで利用してください。

Available Extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
initOrUpdated bool
Returns true if on initOrUpdate is executed and terminated.
no setter
initOrUpdating Future<void>?
Future to monitor the end of on initOrUpdate when it is executed.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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