hideUpsell method
Hides view
Implementation
@override
Future<bool> hideUpsell() async {
final result = await methodChannel.invokeMethod<bool>(
hideUpsellMethodName,
);
// Hide fallback sheet if it is displaying
if (_isFallbackSheetShowing &&
_fallbackContext != null &&
_fallbackContext!.mounted) {
Navigator.of(_fallbackContext!).pop();
}
return result ?? false;
}