DriverError constructor Null safety

DriverError(
  1. String message,
  2. [Object? originalError,
  3. Object? originalStackTrace]
)

Create an error with a message and (optionally) the originalError and originalStackTrace that caused it.

Implementation

DriverError(this.message, [this.originalError, this.originalStackTrace]);