isValidAddress static method

bool isValidAddress(
  1. String address
)

Implementation

static bool isValidAddress(String address) {
  return RegExp(r"^0x[A-Fa-f0-9]{64}$").hasMatch(address);
}