fromWallet static method

InviteUser fromWallet({
  1. required Wallet wallet,
  2. required String recipientDid,
})

Creates an InviteUser from the given wallet and recipientDid.

Implementation

static InviteUser fromWallet({
  required Wallet wallet,
  required String recipientDid,
}) {
  return InviteUser(
    recipientDid: recipientDid,
    senderDid: wallet.bech32Address,
  );
}