setLatestNotificationNumber method
设置最多显示的通知条数 Android Only @param maxNum 最多显示的条数
Implementation
Future setLatestNotificationNumber(int maxNum) async {
if (Platform.isIOS) {
print(flutter_log + "setLatestNotificationNumber: iOS not supported");
return;
}
print(flutter_log + "setLatestNotificationNumber:");
await _channel.invokeMethod('setLatestNotificationNumber', {"maxNum": maxNum});
}