onInitialize property
SharedMapEventCallback?
get
onInitialize
Optional callback for when the SharedMap instance is initialized.
- If running on the
Isolate
version, it will be triggered only on the "server" side. - Note: Ensure that the
onInitialize
callback is passed in the constructor or to the SharedStore.getSharedMap, and refrain from setting it after instance creation.
Implementation
SharedMapEventCallback? get onInitialize;
set
onInitialize
(SharedMapEventCallback? callback)
Implementation
set onInitialize(SharedMapEventCallback? callback);