hasAll static method

bool hasAll(
  1. Map map,
  2. Iterable<String> keys
)

Returns true when every one of keys resolves in map.

Implementation

static bool hasAll(Map map, Iterable<String> keys) {
  for (final k in keys) {
    if (!has(map, k)) return false;
  }
  return true;
}