Search class

Search is a class that provides access to the GitBook Search API.

Constructors

Constructor.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
The token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String query) Future<ClearResponse<List<Space>?, ClearErrorResponse?>>
Returns the spaces of the user.
queryByOrgId(String query, {required String orgId}) Future<ClearResponse<List<Space>?, ClearErrorResponse?>>
Returns the spaces of the user with the given organization id.
queryBySpaceId(String query, {required String spaceId}) Future<ClearResponse<List<Page>?, ClearErrorResponse?>>
Returns the space with the given id.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited