isValidNamespaces static method
Validates the data of the Namespaces, ensuring it conforms to CAIP-25
Implementation
static bool isValidNamespaces({
required Map<String, Namespace> namespaces,
required String context,
}) {
namespaces.forEach((key, namespace) {
isValidAccounts(
accounts: namespace.accounts,
context: '$context namespace',
);
});
return true;
}