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

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

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 the page_id. Can also mark the page as archived.

Operators

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