isExist method

bool isExist(
  1. String id, [
  2. bool defaultValue = false
])

Checks if the given id exists in the exists map

Implementation

bool isExist(String id, [bool defaultValue = false]) {
  return _exists?[id] ?? defaultValue;
}