Result<DATA, ERROR extends Exception>.success constructor

Result<DATA, ERROR extends Exception>.success(
  1. DATA data
)

Implementation

factory Result.success(DATA data) => Result(data, null);