Result<T>.success constructor

const Result<T>.success({
  1. T? data,
})

Implementation

const Result.success({T? data}) : this._(data);