accept method

Future<String?> accept({
  1. required String target,
})

Implementation

Future<String?> accept({required String target}) async {
  if (!_hasSigner) {
    throw Exception(PushAPI.ensureSignerMessage());
  }
  return PUSH_CHAT.approve(
    senderAddress: target,
    account: _account,
    pgpPrivateKey: _decryptedPgpPvtKey,
    signer: _signer,
  );
}