getAllUsers method

  1. @override
Future<List<ChatUserModel>> getAllUsers()
override

Retrieves all users. Used for chat creation.

Implementation

@override
Future<List<ChatUserModel>> getAllUsers() =>
    Future.value(users.where((element) => element.id != '3').toList());