getIsProfileBlockedByAdmin method

  1. @override
Future<bool?> getIsProfileBlockedByAdmin()
override

This method is used to check if the user is blocked by the admin.

Implementation

@override
Future<bool?> getIsProfileBlockedByAdmin() async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel
        .invokeMethod<bool>('getIsProfileBlockedByAdmin');
    return res;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}