decode static method

DIDConnectRequestMessage decode(
  1. String encoded
)

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;
  }
}