RemoteException class Null safety

An exception that was thrown remotely.

This could be an exception thrown in a different isolate, a different process, or on an entirely different computer.

Implemented types

Properties

hashCode int
The hash code for this object.
read-onlyinherited
message String?
The original exception's message, if it had one.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type String
The value of the original exception's runtimeType.toString().
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deserialize(dynamic serialized) AsyncError
Deserializes an exception serialized with RemoteException.serialize.
serialize(dynamic error, StackTrace stackTrace) Map<String, dynamic>
Serializes error and stackTrace into a JSON-safe object.