我正在用flutter写代码,不知道它们之间有什么区别
` 未来发送数据(蓝牙设备 d)异步 {
BluetoothConnection? connection;
connection = await BluetoothConnection.toAddress(d.address);
connection.output.add(Uint8List.fromList(utf8.encode("irgendwas")));
await connection.output.allSent;
} `