setDisableAutoPromptOnFulFillingCriteria method

  1. @override
Future<void> setDisableAutoPromptOnFulFillingCriteria(
  1. bool isDisable
)
override

Implementation

@override
Future<void> setDisableAutoPromptOnFulFillingCriteria(bool isDisable) async {
  try {
    final checkAutoPrompt = await methodChannel.invokeMethod<bool>(
        "setDisableAutoPromptOnFulFillingCriteria", {'isDisable': isDisable});
    if (checkAutoPrompt != null) {
      _disableAutoPromptOnFulFillingCriteria = isDisable;
    }
  } on PlatformException catch (e, s) {
    print(s);
  }
}