hasAll method

bool hasAll(
  1. List<String> names
)

Checks if multiple headers exist.

Implementation

bool hasAll(List<String> names) => names.every(has);