errorCheck method
Implementation
FieldCubitState<T> errorCheck({String? error}) {
return FieldCubitErrorCheckState(
value: value,
initalValue: initialValue,
error: error,
isErrorShown: isErrorShown,
);
}
FieldCubitState<T> errorCheck({String? error}) {
return FieldCubitErrorCheckState(
value: value,
initalValue: initialValue,
error: error,
isErrorShown: isErrorShown,
);
}