success method

void success(
  1. R result
)

Emit success state

Implementation

void success(R result) {
  emit(FetchSuccess<R>(result));
}