removeProfileImage method

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

Implementation

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