确保注册成功以后调用获取deviceId
Future<String?> get deviceId async { return _channel.invokeMethod("deviceId"); }