getPayloadSenderPublicKey method

  1. @override
String? getPayloadSenderPublicKey(
  1. String encoded
)
override

Implementation

@override
String? getPayloadSenderPublicKey(String encoded) {
  _checkInitialized();

  final deserialized = utils.deserialize(encoded);
  if (deserialized.senderPublicKey != null) {
    return utf8.decode(deserialized.senderPublicKey!);
  }
  return null;
}