PulseXState<T>.loaded constructor

PulseXState<T>.loaded(
  1. T? value
)

Loaded state PulseXState.loaded is the state when api call finishes without error & returns value

Implementation

factory PulseXState.loaded(T? value) {
  return PulseXState(
    value: value,
    message: null,
    status: PulseXStatus.loaded,
  );
}