errorCheck method

FieldCubitState<T> errorCheck({
  1. String? error,
})

Implementation

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