getBitcoinWalletType function Null safety

BitcoinWalletType getBitcoinWalletType(
  1. String? value
)

A simplified wallet type check which only returns a wallet type like SegWit, Regular, or None if a wallet address is invalid

Implementation

BitcoinWalletType getBitcoinWalletType(String? value) {
  return getBitcoinWalletDetails(value).walletType;
}