fromName static method
Implementation
static SubstrateCoins? fromName(String name) {
try {
return values.firstWhere((element) => element.name == name);
} on StateError {
return null;
}
}
static SubstrateCoins? fromName(String name) {
try {
return values.firstWhere((element) => element.name == name);
} on StateError {
return null;
}
}