ApiResult<T>.success constructor

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

Implementation

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