getUsersIBlocked static method
Future<void>
getUsersIBlocked({
- bool fetchFromServer = false,
- required dynamic flyCallBack(
- FlyResponse response
Retrieves the list of users blocked by the current user.
This method fetches the list of users that the current user has blocked.
Params:
fetchFromServer
: Whether to fetch the list from the server. Defaults tofalse
.
Returns:
flyCallBack
: A callback function that is called with a FlyResponse object upon completion.
Usage example:
Mirrorfly.getUsersIBlocked(
fetchFromServer: true,
flyCallBack: (response) {
// Handle the response
print("Blocked users list: $response");
},
);
Implementation
static Future<void> getUsersIBlocked(
{bool fetchFromServer = false,
required Function(FlyResponse response) flyCallBack}) {
return FlyChatFlutterPlatform.instance
.getUsersIBlocked(fetchFromServer, flyCallBack);
}