AsyncValue<T>.success constructor

const AsyncValue<T>.success(
  1. T? data
)

Implementation

const AsyncValue.success(this.data)
    : state = AsyncState.success,
      error = null,
      stackTrace = null,
      retryCount = null;