hasHeader method

bool hasHeader(
  1. String? name
)

Implementation

bool hasHeader(String? name) {
  if (name != null) {
    return (_headers.containsKey(utils.headerize(name)) && true) || false;
  }
  return false;
}