transferSingleTypedData method
Future<void>
transferSingleTypedData({
- Uint8List? txBuf,
- Uint8List? rxBuf,
- SpiTransferProperties? transferProperties,
Implementation
Future<void> transferSingleTypedData(
{Uint8List? txBuf, Uint8List? rxBuf, SpiTransferProperties? transferProperties}) {
return transfer([
SpiTransfer(
data: SpiTransferData.fromTypedData(
txBuf: txBuf,
rxBuf: rxBuf,
),
properties: transferProperties ?? SpiTransferProperties.defaultProperties)
]);
}