defineHeader method

void defineHeader({
  1. required String header,
  2. required String value,
})

Implementation

void defineHeader ({ required String header, required String value }) {
  headers.putIfAbsent(header, () => value);
}