clearFieldState method
- {required CreatorModel creatorModel}
Clears this field's data. The state refresh afterwards is not performed here and should be performed by the invocation of the clear field button.
Implementation
void clearFieldState({
required CreatorModel creatorModel,
}) {
_exportFile = null;
_currentSearchTerm = null;
_autoCannotOverride = false;
creatorModel.refresh();
}