setStateLoading method

void setStateLoading(
  1. Loading value
)

Implementation

void setStateLoading(Loading value) => {
      data.value = null,
      loading.value = value,
      error.value = null,
    };