contains method

bool contains(
  1. String key,
  2. dynamic value
)

Whether this map contains the given key/value pair.

Returns true if any of the key / value pair in the map are equal.

Example:

map.contains("key","value") // true

Implementation

bool contains(String key, dynamic value) => FxMap.contains(this, key, value);