fromSafeFuture<T, E> static method
Implementation
static ResultAsync<T, E> fromSafeFuture<T, E>(Future<T> future) {
final newFuture = future.then((value) => Ok<T, E>(value));
return ResultAsync(newFuture);
}
static ResultAsync<T, E> fromSafeFuture<T, E>(Future<T> future) {
final newFuture = future.then((value) => Ok<T, E>(value));
return ResultAsync(newFuture);
}