NotionBlockClient class

A client for Notion API block children requests.

Inheritance

Constructors

NotionBlockClient({required String token, String version = latestVersion, String dateVersion = latestDateVersion})
Main Notion block 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

append({required String to, required Children children}) Future<NotionResponse>
Append a block children to a specific block.
fetch(String id, {String? startCursor, int? pageSize}) Future<NotionResponse>
Retrieve the block children from block with id.
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