fromName static method
Retrieves the signature type based on its name.
Implementation
static AptosAnySignatures fromName(String? name) {
return values.firstWhere((e) => e.name == name,
orElse: () => throw DartAptosPluginException(
"Cannot find correct Signature from the given name.",
details: {"name": name}));
}