A collection of widgets, methods and extension methods that make working with FutureOr objects easier
isFuture
: true if futureisNotFuture
: true if valuevalue
: casts to a valuefuture
: casts to a futureasFuture
: if not a future, returns Future.value of the value
if the futureOr is a value, calls the builder with the value.
if the futureOr is a future, return a FutureBuilder
widget.