SyncData class

Dados de sincronização que representam o estado atual do sistema

Contém informações sobre:

  • Status atual da sincronização
  • Mensagem descritiva do estado
  • Timestamp da última sincronização bem-sucedida
  • Número de itens pendentes para sincronização

Constructors

SyncData({required SyncStatus status, String? message, DateTime? lastSync, int? pendingItems})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
lastSync → DateTime?
final
message → String?
final
pendingItems → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → SyncStatus
final

Methods

copyWith({SyncStatus? status, String? message, DateTime? lastSync, int? pendingItems}) → SyncData
Cria uma nova instância com os valores alterados
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