NotionClient class
Methods
-
createPage({required String databaseId, required List<Property<Object>> properties})
→ AsyncResult<void, AppException>
-
Creates a new page in a Notion database.
-
fetchAll(DatabaseId databaseId, {int pageSize = 100, Filter? filter})
→ AsyncResult<Pages, AppException>
-
Fetches all pages from a Notion database.
-
fetchPageProperties(String pageId)
→ AsyncResult<Map<String, Property<Object>>, AppException>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
query(DatabaseId databaseId, {bool forceFetchRelationPages = false, Filter? filter, List<Sort> sorts = const [], bool cacheRelationPages = false, })
→ AsyncResult<PaginatedResponse<Page>, AppException>
-
Queries a Notion database and returns its properties.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updatePage({required String pageId, required List<Property<Object>> properties})
→ AsyncResult<void, AppException>
-
Updates the properties of an existing page in a Notion database.