isAddress static method

bool isAddress(
  1. String txt
)

Implementation

static bool isAddress(String txt) {
  var reg = RegExp(r'^[A-z\d]{47,48}$');
  return reg.hasMatch(txt);
}