setPushEnabled method
To Enable/Disable Push Notification
Implementation
@override
Future<bool?> setPushEnabled(bool? enabled) async {
final bool? result = await methodChannel.invokeMethod('setPushEnabled', {
"isEnabled": enabled ?? true,
});
return result;
}