fromValue static method
Returns the TransactionDataOptionType corresponding to the specified value.
Implementation
static TransactionDataOptionType fromValue(int? value) {
return values.firstWhere(
(element) => element.value == value,
orElse: () => throw MessageException(
"No TransactionDataOptionType found matching the specified value",
details: {"value": value}),
);
}