NotionPagesClient class
A client for Notion API pages requests.
Constructors
- NotionPagesClient({required String auth, String version = latestVersion, String dateVersion = latestDateVersion})
- Main Notion page client constructor.
Properties
Methods
-
create(
Page page) → Future< NotionResponse> -
Create a new
page
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
{required String page_id}) → Future< NotionResponse> -
Retrieve the page specified by the
page_id
. -
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required String page_id, Properties? properties, bool? archived}) → Future< NotionResponse> -
Update the
properties
of the page specified by thepage_id
. Can also mark the page asarchived
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited