Success<T> constructor

const Success<T>(
  1. T data
)

Implementation

const Success(this.data) : assert(data != null);