BaseFields class

A base representation of the base properties of almost any Notion object.

Implementers

Constructors

BaseFields({ObjectTypes object = ObjectTypes.Object, String id = '', String createdTime = '', String lastEditedTime = ''})
Main base properties constructor.
BaseFields.fromJson(Map<String, dynamic> json)
Map the properties from a json map.

Properties

createdTime String
The creation time of the object.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The object id.
getter/setter pair
lastEditedTime String
The last edited time of the object.
getter/setter pair
object ObjectTypes
The object type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strObject String
The string value of the object type.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBaseProperties({required String createdTime, required String lastEditedTime}) → void
Set the createdTime and the lastEditedTime properties.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited