isValidAccountId function
Implementation
bool isValidAccountId(String value) {
if (value.contains(":")) {
final split = value.split(":");
if (split.length == 3) {
final chainId = '${split[0]}:${split[1]}';
return split[2].isNotEmpty && isValidChainId(chainId);
}
}
return false;
}