fromError method

void fromError(
  1. E error
)

Implementation

void fromError(E error) => set(ErrorState(error));