BluetoothAdvertisingStateEvent constructor
const
BluetoothAdvertisingStateEvent({})
创建广播状态事件。
参数:
isAdvertising:当前是否正在广播,无默认值。errorCode:Android 广播错误码,默认null。message:平台状态或错误消息,默认null。
Implementation
const BluetoothAdvertisingStateEvent({
required this.isAdvertising,
this.errorCode,
this.message,
});