setPushEnabled method

  1. @override
Future<bool?> setPushEnabled(
  1. bool? enabled
)
override

Implementation

@override
Future<bool?> setPushEnabled(bool? enabled) async {
  final bool? result = await methodChannel.invokeMethod('setPushEnabled', {
    "isEnabled": enabled ?? true,
  });

  return result;
}