tryRawAddress static method
Implementation
static DecodeAddressResult? tryRawAddress(String address) {
try {
final parts = address.split(':');
final int? workChain = int.tryParse(parts[0]);
if (workChain == null) return null;
final hash = BytesUtils.fromHexString(parts[1]);
return DecodeAddressResult(hash: hash, workchain: workChain, flags: []);
} catch (_) {
return null;
}
}