lastError property

SerialPortError? get lastError

Gets the error for a failed operation.

Implementation

static SerialPortError? get lastError => _SerialPortImpl.lastError;