reset method
Resets the field to its initial value.
Implementation
@override
void reset() {
super.reset();
controller.value = initialValue is T ? <T>{initialValue as T} : <T>{};
}
Resets the field to its initial value.
@override
void reset() {
super.reset();
controller.value = initialValue is T ? <T>{initialValue as T} : <T>{};
}