openScale method

Future<bool?> openScale()

打开电子秤的连接。

这个方法用于打开与电子秤的连接。

返回值:

  • 如果成功打开连接,返回 true
  • 如果打开连接失败,返回 false

Implementation

Future<bool?> openScale() {
  return AclasScalePlatform.instance.openScale();
}