deserialize static method

AsyncError deserialize(
  1. Map 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(Map serialized) {
  return AsyncError(_deserializeException(serialized),
      Chain.parse(serialized['stackChain'] as String));
}