tryParse static method
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];