FormData构造函数

FormData(
  1. [FormElement? form]
)

实现

factory FormData([FormElement? form]) {
  if (form != null) {
    return FormData._create_1(form);
  }
  return FormData._create_2();
}