isInvalidHrp method Null safety

bool isInvalidHrp(
  1. String hrp,
  2. String validHrp
)

Implementation

bool isInvalidHrp(String hrp, String validHrp) {
  return hrp != validHrp;
}