bool hasParam(String key) { if (key != null) { return _parameters!.containsKey(key.toLowerCase()); } return false; }