RelationProperty class

Inheritance
Annotations
  • @immutable

Constructors

RelationProperty.new({required String name, String type = _relaiontype, Value<List<Page>>? valueDetails, String? id})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
finalinherited
name String
The name of the property. This is the name given to the property in the Notion database.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the property. This is the type of the property in the Notion database.
finalinherited
value List<Page>?
no setterinherited
valueDetails Value<List<Page>>?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Converts the property to a map format suitable for Notion API requests.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant Property<List<Page>> other) bool
The equality operator.
inherited

Constants

supportedTypes → const List<String>