IsolateException constructor

IsolateException(
  1. Object error, [
  2. StackTrace stack = StackTrace.empty
])

This IsolateException mainly use to transfer an Exception between an Isolate and the main app.

Implementation

IsolateException(this.error, [this.stack = StackTrace.empty]);