Headers([input])

Source

@DomName('Headers.Headers')
@DocsEditable()
factory Headers([input]) {
  if (input == null) {
    return _blink.BlinkHeaders.instance.constructorCallback_0_();
  }
  if ((input is Headers)) {
    return _blink.BlinkHeaders.instance.constructorCallback_1_(input);
  }
  if ((input is Map)) {
    var input_1 = convertDartToNative_Dictionary(input);
    return _blink.BlinkHeaders.instance.constructorCallback_1_(input_1);
  }
  if ((input is List<Object>)) {
    return _blink.BlinkHeaders.instance.constructorCallback_1_(input);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}