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