fromName static method

CryptoProposal fromName(
  1. String name
)

Implementation

static CryptoProposal fromName(String name) {
  return BipProposal.values.firstWhere((element) => element.name == name);
}