cancel method
Cancel/remove the notification with the specified id.
This applies to notifications that have been scheduled and those that have already been presented.
Implementation
@override
Future<void> cancel(int id) {
validateId(id);
return _channel.invokeMethod('cancel', id);
}