Headers.from constructor

Headers.from(
  1. Headers other
)

Creates a new Headers instance copying all the headers from other.

Implementation

factory Headers.from(Headers other) {
  return _Headers()..addAll(other);
}