getByCode static method

Localization? getByCode(
  1. String code
)

Get the localization based on the code. If there's more than one, it defaults to the first one

Implementation

static Localization? getByCode(String code) => localizations.getByCode(code);