SyncableModel class

Constructors

SyncableModel({required String id, SyncStatus status = SyncStatus.pending, DateTime? lastSynced, required DateTime createdAt, required DateTime updatedAt})

Properties

createdAt DateTime
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
lastSynced DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status SyncStatus
final
updatedAt DateTime
final

Methods

copyWith({String? id, SyncStatus? status, DateTime? lastSynced, DateTime? createdAt, DateTime? updatedAt}) SyncableModel
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