hasParam method

bool hasParam(
  1. String key
)

Checks if a parameter exists.

key - The key of the parameter to check.

Returns true if the parameter exists, otherwise returns false.

Implementation

bool hasParam(String key) {
  return _params.fields.keys.contains(key);
}