Client class

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

Constructors

Client(String token, {Client? client})
Constructor.

Properties

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

Methods

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

Operators

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