result property

Future<T> get result

Implementation

Future<T> get result {
  final result = _result;
  if (result == null) return Future.error(this);
  return result is Future<T> ? result : Future.value(result);
}