Result<T>.cache constructor

Result<T>.cache({
  1. T? data,
  2. Exception? exception,
})

Implementation

factory Result.cache({
  T? data,
  Exception? exception,
}) =>
    CacheResult(
      data: data,
      exception: exception,
    );