advertisingState property
实现 FlutterBluetoothPluginPlatform.advertisingState。
参数、默认值、平台差异和推荐值见平台接口文档。
Implementation
@override
Stream<BluetoothAdvertisingStateEvent> get advertisingState {
return _eventStream
.where((event) => event['type'] == 'advertisingState')
.map(BluetoothAdvertisingStateEvent.fromMap);
}