byCode static method

Country? byCode(
  1. String code
)

Country by ISO 3166-1 alpha-2 code (e.g. 'US'). Returns null if not found.

Implementation

static Country? byCode(String code) => _all.byCode(code);