setMaxTimesToShowPopup method
Implementation
@override
Future<void> setMaxTimesToShowPopup(int maxTime) async {
try {
final count = await methodChannel
.invokeMethod<int>("setMaxTimesToShowPopup", {'maxTime': maxTime});
if (count != null) _maxTimesToShowPopup = count;
} on PlatformException catch (e, s) {
print(s);
}
}