ValidatorUtils class

Constructors

ValidatorUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

hasOverlap(List a, List b) bool
isConformingNamespaces(Map<String, RequiredNamespace> requiredNamespaces, Map<String, Namespace> namespaces, String context) → void
isSessionCompatible(SessionData session, Map<String, RequiredNamespace> requiredNamespaces) bool
isValidAccountId(String value) bool
isValidAccounts(List<String> accounts, String context) bool
isValidChainId(String value) bool
isValidChains(String key, List<String> chains, String context) bool
isValidNamespaceAccounts(Map<String, Namespace> namespaces, String method) bool
isValidNamespaceChains(Map<String, RequiredNamespace> namespaces, String method) bool
isValidNamespaces(Map<String, Namespace> input, String method) bool
isValidNamespacesChainId(Map<String, Namespace> namespaces, String chainId) bool
isValidNamespacesEvent(Map<String, Namespace> namespaces, String chainId, String eventName) bool
isValidNamespacesRequest(Map<String, Namespace> namespaces, String chainId, String method) bool
isValidRequiredNamespaces(Map<String, RequiredNamespace> input, String method) bool
isValidUrl(String value) bool