SerialPortError constructor

const SerialPortError(
  1. [String message = '',
  2. int errorCode = OSError.noErrorCode]
)

Implementation

const SerialPortError(
    [super.message = '', super.errorCode = OSError.noErrorCode]);