syncChannel method

dynamic syncChannel()

Implementation

syncChannel() async {
  Event? res = await send(
    buildEvent(
      SyncModelChannel(
        lastUpdatedAt: await getLastActiveAt(Channel.stableName),
      ),
    ),
    waitResult: true,
  );
  if (res == null) {
    return false;
  }
  if (!await _handle(res)) {
    return false;
  }
  return true;
}