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