deserialize method Null safety
- dynamic serialized
Deserializes an exception serialized with RemoteException.serialize.
The returned AsyncError is guaranteed to have a RemoteException as its error and a Chain as its stack trace.
Implementation
static AsyncError deserialize(serialized) {
return AsyncError(_deserializeException(serialized),
Chain.parse(serialized['stackChain'] as String));
}