SerialPortError constructor

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

Implementation

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