DatumEntitySyncDetails class

Describes the synchronization state for a single entity type.

Annotations
  • @immutable

Constructors

DatumEntitySyncDetails({required int count, String? hash})
Creates details for an entity's sync state.
const
DatumEntitySyncDetails.fromJson(Map<String, dynamic> json)
Creates DatumEntitySyncDetails from a map (JSON).
factory

Properties

count int
The total number of items for this entity.
final
hash String?
An optional hash of this entity's data for integrity checking.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts to a map for JSON serialization.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override