cancelByThread method
Withdraws every posted notification sharing threadId.
Implementation
@override
Future<void> cancelByThread(String threadId) async {
try {
await _channel.invokeMethod('cancelByThread', {'threadId': threadId});
} on PlatformException catch (e) {
_log.w('cancelByThread failed: ${e.message}');
} on MissingPluginException {
return;
}
}