isBase58 function

bool isBase58(
  1. String str
)

Implementation

bool isBase58(String str) {
  final base58 = RegExp(r'/^[A-HJ-NP-Za-km-z1-9]*$/');
  return base58.hasMatch(str);
}