MagentoSyncStats class

Statistics for a sync data type

Annotations

Constructors

MagentoSyncStats.new({required String dataType, DateTime? lastSyncTime, int pendingItemsCount = 0, bool isScheduled = false, bool isActive = false})
const

Properties

dataType String
The data type these stats are for
final
hashCode int
The hash code for this object.
no setterinherited
isActive bool
Whether sync is currently active
final
isScheduled bool
Whether automatic sync is scheduled
final
lastSyncTime DateTime?
When the last sync occurred
final
needsSync bool
Whether sync is needed (has pending items or hasn't synced recently)
no setter
pendingItemsCount int
Number of items waiting to be synced
final
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
toString() String
A string representation of this object.
override

Operators

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