ColdStartMetrics class

Metrics collected during cold start sync operations

Constructors

ColdStartMetrics({required DateTime startTime, DateTime? endTime, int entitiesSynced = 0, int bytesTransferred = 0, Duration? duration, bool completed = false, String? failureReason})
const

Properties

bytesTransferred int
final
completed bool
final
duration Duration?
final
endTime DateTime?
final
entitiesSynced int
final
failureReason String?
final
hashCode int
The hash code for this object.
no setterinherited
performanceScore double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
final

Methods

copyWith({DateTime? endTime, int? entitiesSynced, int? bytesTransferred, Duration? duration, bool? completed, String? failureReason}) ColdStartMetrics
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