hasInvalidSeparator method Null safety

bool hasInvalidSeparator(
  1. String bech32
)

Implementation

bool hasInvalidSeparator(String bech32) {
  return bech32.lastIndexOf(separator) == -1;
}