enableNotifications method
Implementation
@override
Future<void> enableNotifications(bool enabled) async {
try {
await methodChannel.invokeMethod('enableNotifications', { 'enabled': enabled });
}
on PlatformException catch(exception) {
log.severe('Exception when enabling notifications: ${exception.message}');
}
}