NotionResponse constructor
NotionResponse({
- ObjectTypes object = ObjectTypes.None,
- int status = 0,
- String? code,
- String? message,
Main Notion response constructor.
Can receive the object type, the status code, the error code and the error message.
Implementation
NotionResponse({
this.object: ObjectTypes.None,
this.status: 0,
this.code,
this.message,
});