SpiTransfer<T extends SpiTransferData> constructor

SpiTransfer<T extends SpiTransferData>({
  1. required T data,
  2. SpiTransferProperties? properties,
})

Implementation

SpiTransfer({
  required this.data,
  SpiTransferProperties? properties,
}) : this.properties = properties ?? SpiTransferProperties.defaultProperties;