TransactionConfirmationStatus.fromName constructor
TransactionConfirmationStatus.fromName(
- String? value
Implementation
factory TransactionConfirmationStatus.fromName(String? value) {
return values.firstWhere(
(element) => element.name.toLowerCase() == value?.toLowerCase(),
orElse: () => throw MessageException(
"No TransactionConfirmationStatus found matching the specified value",
details: {"value": value}),
);
}