Result<T>.success constructor

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

Implementation

const factory Result.success({required T data}) = Success<T>;