getBlockedMembers static method

Future<List<String>> getBlockedMembers(
  1. String myMemberId
)

Implementation

static Future<List<String>> getBlockedMembers(String myMemberId) async {
  var query = EliudQuery(theConditions: [
    EliudQueryCondition('memberBlocking', isEqualTo: myMemberId)
  ]);
  var valuesList = await blockingRepository()!.valuesList(eliudQuery: query);
  return valuesList.map((e) => e!.memberBeingBlocked ?? '?').toList();
}