toJson method
Convert this to a valid json representation for the Notion API.
Implementation
@override
Map<String, dynamic> toJson() => {
'object': strObject,
'type': strType,
strType: {
'text': _content
.map((e) => e.toJson(textSeparator: textSeparator))
.toList(),
'children': _children.map((e) => e.toJson()).toList(),
'checked': checked,
}
};