PulseXState<T>.loading constructor

PulseXState<T>.loading()

Loading state PulseXState.loading starts as soon as api call is started

Implementation

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