FormData constructor Null safety

FormData(
  1. [FormElement? form]
)

Implementation

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