isFriendly static method

bool isFriendly(
  1. String source
)

Implementation

static bool isFriendly(String source) {
  if (source.length == _TonAddressConst.friendlyAddressLength &&
      _friendlyRegixAddress.hasMatch(source)) {
    return true;
  }
  return false;
}