Throwable constructor

const Throwable({
  1. String? message,
  2. Throwable? cause,
})

The base class for all errors and exceptions.

Only instances of this class can be thrown or caught.

Implementation

const Throwable({this.message, this.cause});