contains method

bool contains(
  1. String key,
  2. {num count,
  3. LocalisonGender gender,
  4. bool quantify}
)

Returns true if the passed key is part of the localized keys, false otherwise.

The same decisions for the final key name apply here just as in localize method.

Implementation

bool contains(
  String key, {
  num count,
  LocalisonGender gender,
  bool quantify,
}) =>
    _messages.containsKey(_resolveKey(key, count, gender, quantify));