of<T> static method

Dependent<T> of<T>(
  1. QueryState<T> state
)

Implementation

static Dependent<T> of<T>(QueryState<T> state) {
  return Dependent<T>(enabled: state.isSuccess, value: state.data);
}