removeProfileImage method

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

Implementation

@override
Future<bool?> removeProfileImage() async {
  bool? profileResponse;
  try {
    profileResponse =
        await mirrorFlyMethodChannel.invokeMethod<bool>('removeProfileImage');
    debugPrint("removeProfileImage Result ==> $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    return false;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    return false;
  }
}