SyncMetricsSnapshot class

Metrics snapshot

Constructors

SyncMetricsSnapshot({required int syncAttempts, required int syncSuccesses, required int syncFailures, required double successRate, required Duration? averageSyncDuration, required int conflictsDetected, required int conflictsResolved, required int operationsQueued, required int operationsSynced, required int operationsFailed, required List<MapEntry<String, int>> topErrors, required DateTime? lastSyncTime})

Properties

averageSyncDuration Duration?
final
conflictsDetected int
final
conflictsResolved int
final
hashCode int
The hash code for this object.
no setterinherited
lastSyncTime DateTime?
final
operationsFailed int
final
operationsQueued int
final
operationsSynced int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successRate double
final
syncAttempts int
final
syncFailures int
final
syncSuccesses int
final
topErrors List<MapEntry<String, int>>
final

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