update method
Implementation
Future<void> update(AbstractFormUpdateEvent event, Emitter<S> emit) async {
if (state is AbstractFormBasicState) {
(state as AbstractFormBasicState).model = event.model;
}
updateState(state.copyWith() as S, emit);
}