getMeClients method

Stream<Map> getMeClients({
  1. bool? isUseCache,
  2. Duration? durationCacheExpire,
})

getMe all client

Implementation

Stream<Map> getMeClients({
  bool? isUseCache,
  Duration? durationCacheExpire,
}) async* {
  for (int clientId in getAllClientIds()) {
    try {
      Map get_me_result = await getMeClient(
        clientId: clientId,
        isUseCache: isUseCache,
        durationCacheExpire: durationCacheExpire,
      );
      if (get_me_result["ok"] == true && get_me_result["result"] is Map) {
        yield (get_me_result["result"] as Map);
      }
    } catch (e) {}
  }
}