RichTextProp class

A representation of a rich text property for any Notion object.

Inheritance

Constructors

RichTextProp({List<Text> content = const <Text>[]})
Main RichText constructor.
RichTextProp.fromJson(Map<String, dynamic> json)
Create a new rich text instance from json.

Properties

content List<Text>
The list of rich text.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The property id.
getter/setter pairinherited
isMultiSelect bool
Returns true if property is MultiSelect type.
no setterinherited
isNone bool
Returns true if property don't have a known type.
no setterinherited
isRichText bool
Returns true if property is RichText type.
no setterinherited
isTitle bool
Returns true if property is Title type.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strType String
The string value for this property type.
no setterinherited
type PropertiesTypes
The property type. Always RichText for this.
final
value List<Text>
The value of the content.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert this to a valid json representation for the Notion API.
override
toString() String
A string representation of this object.
inherited

Operators

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