setGattServerServices method
实现 FlutterBluetoothPluginPlatform.setGattServerServices。
参数、默认值、平台差异和推荐值见平台接口文档。
Implementation
@override
Future<void> setGattServerServices(
List<BluetoothGattService> services,
) async {
await methodChannel.invokeMethod<void>(
'setGattServerServices',
<String, dynamic>{
'services': services.map((service) => service.toMap()).toList(),
},
);
}