NotionPagesClient constructor

NotionPagesClient({
  1. required String token,
  2. String version = latestVersion,
  3. String dateVersion = latestDateVersion,
})

Main Notion page client constructor.

Require the token to authenticate the requests, and the API version where to make the calls, which is the latests by default (v1).

Implementation

NotionPagesClient({
  required String token,
  String version: latestVersion,
  String dateVersion: latestDateVersion,
}) : super(token: token, version: version, dateVersion: dateVersion);