getCatalog method

BloomCatalog? getCatalog(
  1. String targetLocale
)

Returns the registered BloomCatalog for targetLocale, or null if not loaded.

Performs case-insensitive and hyphen/underscore normalized matching.

Implementation

BloomCatalog? getCatalog(String targetLocale) =>
    _catalogs[targetLocale] ?? _findCatalogNormalized(targetLocale);