TransactionConfirmationStatus.fromValue constructor
TransactionConfirmationStatus.fromValue(
- int? value
Implementation
factory TransactionConfirmationStatus.fromValue(int? value) {
return values.firstWhere(
(element) => element.value == value,
orElse: () => throw SolanaPluginException(
"No TransactionConfirmationStatus found matching the specified value",
details: {"value": value}),
);
}