NotionDatabasesClient class
A client for Notion API databases requests.
- Inheritance
-
- Object
- BaseClient
- NotionDatabasesClient
Constructors
- NotionDatabasesClient({required String token, String version = latestVersion, String dateVersion = latestDateVersion})
- Main Notion database client constructor.
Properties
- dateVersion ↔ String
-
The API date version.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- path ↔ String
-
The path of the requests group.
finalgetter/setter pairinherited-setteroverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String
-
The API integration secret token.
getter/setter pairinherited
- v ↔ String
-
The API version.
getter/setter pairinherited
Methods
-
create(
Database database) → Future< NotionResponse> - Create a database.
-
fetch(
String id) → Future< NotionResponse> -
Retrieve the database with
id
. -
fetchAll(
{String? startCursor, int? pageSize}) → Future< NotionResponse> - Retrieve all databases.
-
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