isRaw static method
Implementation
static bool isRaw(String source) {
final parts = source.split(':');
try {
int.parse(parts[0]);
final hashBytes = BytesUtils.fromHexString(parts[1]);
if (hashBytes.length == _TonAddressConst.addressHashLength) {
return true;
}
return false;
} catch (e) {
return false;
}
}