HeaderValue constructor

HeaderValue([
  1. String value = "",
  2. Map<String, String?> parameters = const {}
])

Creates a new header value object setting the value and parameters.

Implementation

factory HeaderValue(
    [String value = "", Map<String, String?> parameters = const {}]) {
  return _HeaderValue(value, parameters);
}