HeliumTransactionType.get constructor
HeliumTransactionType.get(
- String value
Given a transaction type from JSON, return the enumerated value.
If the mode is not recognized, a new enumerated value is constructed and that is returned.
Implementation
factory HeliumTransactionType.get(String value) {
var type = _lookup[value];
if (type == null) {
type = HeliumTransactionType._internal(value);
_lookup[value] = type;
}
return type;
}