serializeDbUserRelayList function
Implementation
@isarProtected
int serializeDbUserRelayList(IsarWriter writer, DbUserRelayList object) {
IsarCore.writeString(writer, 1, object.id);
IsarCore.writeString(writer, 2, object.pubKey);
IsarCore.writeLong(writer, 3, object.createdAt);
IsarCore.writeLong(writer, 4, object.refreshedTimestamp);
{
final list = object.items;
final listWriter = IsarCore.beginList(writer, 5, list.length);
for (var i = 0; i < list.length; i++) {
{
final value = list[i];
final objectWriter = IsarCore.beginObject(listWriter, i);
serializeDbRelayListItem(objectWriter, value);
IsarCore.endObject(listWriter, objectWriter);
}
}
IsarCore.endList(writer, listWriter);
}
return Isar.fastHash(object.id);
}