DatumRegistration<T extends DatumEntityBase> class
A helper class to encapsulate the registration details for a single entity type.
Constructors
-
DatumRegistration({required LocalAdapter<
T> localAdapter, required RemoteAdapter<T> remoteAdapter, DatumConflictResolver<T> ? conflictResolver, DatumConfig<T> ? config, List<DatumMiddleware< ? middlewares, List<T> >DatumObserver< ? observers, DatumSyncRequestStrategy? syncRequestStrategy})T> > -
const
Properties
-
config
→ DatumConfig<
T> ? -
final
-
conflictResolver
→ DatumConflictResolver<
T> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localAdapter
→ LocalAdapter<
T> -
final
-
middlewares
→ List<
DatumMiddleware< ?T> > -
final
-
observers
→ List<
DatumObserver< ?T> > -
final
-
remoteAdapter
→ RemoteAdapter<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- syncRequestStrategy → DatumSyncRequestStrategy?
-
final
Methods
-
capture<
R> (R cb< T extends DatumEntityBase>() ) → R -
A helper method to capture the generic type
Tat runtime. This is used to get a reliableTypeobject as a key for maps. -
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