setUserDevicePushOptIn static method

Future<void> setUserDevicePushOptIn(
  1. bool status
)

Sets the user's device push notification opt-in status to status

Implementation

static Future<void> setUserDevicePushOptIn(bool status) async {
  return await _channel.invokeMethod(
      METHOD_NAME_SET_USER_DEVICE_PUSH_OPT_IN, status);
}