menu
flutter_bluetooth_plugin package
documentation
flutter_bluetooth_plugin_models.dart
BluetoothMtuEvent
BluetoothMtuEvent.new const constructor
BluetoothMtuEvent.new const constructor
dark_mode
light_mode
BluetoothMtuEvent
constructor
const
BluetoothMtuEvent
(
{
required
String
deviceId
,
required
int
mtu
,
})
创建 MTU 事件。
参数:
deviceId
:设备标识,无默认值。
mtu
:MTU 或平台返回的最大写入长度,无默认值。
Implementation
const BluetoothMtuEvent({required this.deviceId, required this.mtu});
flutter_bluetooth_plugin package
documentation
flutter_bluetooth_plugin_models
BluetoothMtuEvent
BluetoothMtuEvent.new const constructor
BluetoothMtuEvent class