decodeEnvelope method

dynamic decodeEnvelope (ByteData envelope)

Decodes the specified result envelope from binary.

Throws PlatformException, if envelope represents an error, otherwise returns the enveloped result.

Implementation

dynamic decodeEnvelope(ByteData envelope);