syncContact method
dynamic
syncContact()
Implementation
syncContact() async {
Event? res = await send(
buildEvent(
SyncModelContact(
lastUpdatedAt: await getLastActiveAt(Contact.stableName),
),
),
waitResult: true,
);
if (res == null) {
return false;
}
if (!await _handle(res)) {
return false;
}
return true;
}