SharedMapField<K, V> class
A SharedStore field/wrapper. This will handle the SharedStore in.
- Inheritance
-
- Object
- SharedObject
- SharedObjectField<
SharedMapReference, SharedMap< K, V> , SharedMapField<K, V> > - SharedMapField
Constructors
-
factory
-
factory
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceHandler
→ SharedFieldInstanceHandler<
SharedMapReference, SharedMap< K, V> , SharedMapField<K, V> > -
The SharedFieldInstanceHandler for this SharedObjectField type (
F
).no setterinherited - isAuxiliaryInstance → bool
-
Returns
true
if this is an auxiliary instance, usually a copy passed to anotherIsolate
or running in a remote client.no setterinherited - isMainInstance → bool
-
Returns
true
if this instance is the main/original instance. Also means that it is NOT an auxiliary instance. See isAuxiliaryInstance.no setterinherited - isResolvingReference → bool
-
Returns
true
if it's asynchronously resolving the internal reference to the SharedObject. See sharedObjectAsync.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeTypeName → String
-
no setteroverride
-
no setter
-
no setter
-
no setter
-
The SharedObject (
O
) of this instance. This SharedObject will be automatically shared amongIsolate
copies.no setterinherited -
Asynchronous version of sharedObject.
See isResolvingReference.
no setterinherited
-
The global ID of the sharedObject.
finalinherited
-
The SharedReference (
R
) of the SharedObject.no setterinherited -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
- Returns a cached version of sharedMap. See SharedMap.cached.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tryFrom<
K, V> ({SharedMapEventCallback? onInitialize, SharedMapKeyCallback< K, V> ? onAbsent, SharedMapEntryCallback<K, V> ? onPut, SharedMapEntryCallback<K, V> ? onRemove}) → SharedMapField<K, V> ?