Returns a Future, wrapping the value if it's not already one.
@pragma('vm:prefer-inline') Future<T> toFuture() => Future.value(this);