setDaysBeforeShowingPopupAgain method

  1. @override
Future<void> setDaysBeforeShowingPopupAgain(
  1. int dayCount
)
override

Implementation

@override
Future<void> setDaysBeforeShowingPopupAgain(int dayCount) async {
  try {
    final day = await methodChannel.invokeMethod<int>(
        "setDaysBeforeShowingPopupAgain", {'dayCount': dayCount});
    if (day != null) _daysBeforeShowingPopupAgain = day;
  } on PlatformException catch (e, s) {
    print(s);
  }
}