set method

void set(String name, value, [ String filename ])

Source

void set(String name, value, [String filename]) {
  if ((value is Blob) && (name is String) && filename == null) {
    _blink.BlinkFormData.instance.set_Callback_2_(this, name, value);
    return;
  }
  if ((filename is String) && (value is Blob) && (name is String)) {
    _blink.BlinkFormData.instance
        .set_Callback_3_(this, name, value, filename);
    return;
  }
  if ((value is String) && (name is String) && filename == null) {
    _blink.BlinkFormData.instance.set_Callback_2_(this, name, value);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/FormData/set.html