atsignMismatch method

String atsignMismatch(
  1. String? givenAtsign, {
  2. bool isQr = false,
})

Implementation

String atsignMismatch(String? givenAtsign, {bool isQr = false}) {
  if (isQr) {
    return '@sign mismatches. Please provide the QRcode of $givenAtsign to pair.';
  } else {
    return '@sign mismatches. Please provide the backup key file of $givenAtsign to pair.';
  }
}