isBase58 static method
Whether input contains only valid Base58 characters.
Implementation
static bool isBase58(String input) {
final RegExp base58Regex = RegExp(
r'^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]+$',
);
return base58Regex.hasMatch(input);
}