localeExists method Null safety

bool localeExists(
  1. dynamic localeName
)

Return true if we have a message lookup for localeName.

Implementation

bool localeExists(localeName) => availableMessages.containsKey(localeName);