IsolateException class
封装异步线程抛出的崩溃,
在异步捕获崩溃得到IsolateException再抛到主线程,
Constructors
- IsolateException.new(dynamic error, StackTrace? stackTrace)
-
IsolateException.fromJson(Map<
String, dynamic> json) -
factory
- IsolateException.fromString(String error, String? stackTraceString)
-
factory
Properties
- error → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited