Result<T>.success constructor

Result<T>.success({
  1. T? obj,
  2. Log? log,
  3. dynamic alt,
})

Implementation

factory Result.success({
  final T? obj,
  final Log? log,
  final dynamic alt,
}) =>
    Result(
      obj: obj,
      log: log,
      alt: alt,
      isSuccessful: true,
    );