flatten method Null safety

void flatten()

Flattens the field.

Implementation

void flatten() {
  _flattenField = true;
}