onAbsent property
SharedMapKeyCallback<K, V> ?
onAbsent
Optional callback for when an entry is accessed and is absent.
- If running on the
Isolate
version, it will be triggered only on the "server" side.
Implementation
SharedMapKeyCallback<K, V>? get onAbsent;
Implementation
set onAbsent(SharedMapKeyCallback<K, V>? callback);