isBitcoinSegwitAddress method
Bitcoin (Segwit) Address
Pay-to-Witness-Public-Key-hash (P2WPKH) Invoice address format: Bech32m 42 aplhanumeric characters, case insensitive Starts with bc1q.
References: https://bitcoin.design/guide/glossary/address/ https://blog.trezor.io/bitcoin-addresses-and-how-to-use-them-35e7312098ff
Implementation
bool isBitcoinSegwitAddress() => RegVal.hasMatch(
this,
RegexPattern.bitcoinSegwitAddress,
);