emitData method

void emitData(
  1. T data
)

Set data state.

Implementation

void emitData(T data) {
  value = AsyncData<T>(data);
}