RuntimeD4rtException constructor

RuntimeD4rtException(
  1. String message, {
  2. Object? originalException,
})

Creates a new runtime error with the given message. When originalException is supplied, the wrapped native exception stays catchable by type.

Implementation

RuntimeD4rtException(super.message, {this.originalException});