Result<T>.success constructor

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

Implementation

factory Result.success({
  T? data,
}) =>
    SuccessResult(
      data: data,
    );