SyncStatus class

Constructors

SyncStatus({bool connected = false, bool connecting = false, DateTime? lastSyncedAt, bool downloading = false, bool uploading = false, Object? downloadError, Object? uploadError})
const

Properties

anyError Object?
Get the current downloadError or uploadError.
no setter
connected bool
true if currently connected.
final
connecting bool
true if the PowerSync connection is busy connecting.
final
downloadError Object?
Error during downloading (including connecting).
final
downloading bool
true if actively downloading changes.
final
hashCode int
The hash code for this object.
no setteroverride
lastSyncedAt DateTime?
Time that a last sync has fully completed, if any.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uploadError Object?
Error during uploading.
final
uploading bool
true if uploading changes
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.
override