flattenAllFields method

void flattenAllFields()

Flatten all the fields available in the form.

The flatten will add at the time of saving the current document.

Implementation

void flattenAllFields() {
  _helper.flatten = true;
}