decode static method
Decodes the message from an encoded string.
The encoded
parameter specifies the encoded string to decode.
Implementation
static DIDConnectRequestMessage decode(String encoded) {
try {
Map<String, dynamic> data = inflateAndDecode(encoded);
return DIDConnectRequestMessage.fromJson(data);
} catch (e) {
rethrow;
}
}