setGattServerServices method
设置本地 GATT Server 服务列表。
参数:
services:要暴露的服务列表,无默认值。Android/iOS/macOS 支持;Linux/Windows/Web 不支持。 推荐先调用本方法,再调用 startAdvertising。
Implementation
Future<void> setGattServerServices(List<BluetoothGattService> services) {
throw UnimplementedError(
'setGattServerServices() has not been implemented.',
);
}