context property

Object? context
final

It's used to specify the context in which the UseEffect hook is being used. If a context is provided, the UseEffect hook will listen for the LifeCycle.didMount and LifeCycle.willUnmount events of the context and execute the callback method accordingly. If no context is provided, the hook will simply watch for changes in the specified dependencies.

Implementation

final Object? context;