setPushEnable static method

Future<void> setPushEnable(
  1. bool enable
)

设置推送是否可用,仅支持Android

Implementation

static Future<void> setPushEnable(bool enable) async {
  return await _channel.invokeMethod(_METHOD_PUSH_ENABLE, enable);
}