Text class
A representation of the Text notion object.
Constructors
- Text.new(String text, {TextAnnotations? annotations, Uri? url})
Properties
- annotations ↔ TextAnnotations?
-
The styles of the text.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String
-
The text intself.
getter/setter pair
- url ↔ Uri?
-
The url of the text when the text is a link.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{String textSeparator = ''}) → dynamic - Convert this to a json representation valid for the Notion API.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited