of<T> static method

RxFuture<T> of<T>(
  1. Future<T> future
)

Creates a RxFuture from a future. {@tool snippet}

final rxValue = RxFuture.of(futureValue);

{@end-tool}

Implementation

static RxFuture<T> of<T>(Future<T> future) => RxFuture._(future);