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
.
By default the object
type is None and the status
is zero.
Implementation
NotionResponse({
this.object: ObjectTypes.None,
this.status: 0,
this.code,
this.message,
});