Returns the QueryIndex with the given name, if it exists.
name
FutureOr<QueryIndex?> index(String name);