contains method

bool contains(
  1. Object? key
)

Implementation

bool contains(Object? key) {
  if (key is String) {
    return arguments.contains(key);
  }
  if (key is List<String>) {
    for (var i = 0; i < key.length; i++) {
      String key_data = key[i];
      if (arguments.contains(key_data)) {
        return true;
      }
    }
  }
  return false;
}