tryParse static method

  1. @useResult
CardSet? tryParse(
  1. String abbreviation
)

Given an abbreviation, returns the corresponding CardSet value.

Returns null if abbreviation has no corresponding CardSet value.

Implementation

@useResult
static CardSet? tryParse(String abbreviation) => _abbrToValue[abbreviation];