CardSet.parse constructor
CardSet.parse(
- String abbreviation
Given an abbreviation
, returns the corresponding CardSet value.
Throws a FormatException if abbreviation
has no corresponding
CardSet value.
Implementation
factory CardSet.parse(String abbreviation) {
return checkValidNotNull(tryParse(abbreviation), 'CardSet');
}