SyncOutboxPatch constructor
SyncOutboxPatch(})
Implementation
SyncOutboxPatch(
String id,
String uid,
String collection,
String entityId,
String payloadJson, {
DateTime? createdAt,
DateTime? lastAttemptAt,
int attempts = 0,
}) {
if (!_defaultsSet) {
_defaultsSet = RealmObjectBase.setDefaults<SyncOutboxPatch>({
'attempts': 0,
});
}
RealmObjectBase.set(this, '_id', id);
RealmObjectBase.set(this, 'uid', uid);
RealmObjectBase.set(this, 'collection', collection);
RealmObjectBase.set(this, 'entityId', entityId);
RealmObjectBase.set(this, 'payloadJson', payloadJson);
RealmObjectBase.set(this, 'createdAt', createdAt);
RealmObjectBase.set(this, 'lastAttemptAt', lastAttemptAt);
RealmObjectBase.set(this, 'attempts', attempts);
}