setStateData method

void setStateData(
  1. Data value
)

Implementation

void setStateData(Data value) => {
      data.value = value,
      loading.value = null,
      error.value = null,
    };