HeadingBlock class

Subtítulo (intertítulo) dentro do corpo. level vai de 2 a 4 — o título principal (H1) é o título do post, não um bloco.

Inheritance

Constructors

HeadingBlock(String text, {int level = 2})
const
HeadingBlock.fromJson(Map<String, Object?> j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
level int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
type String
Discriminador usado no JSON ({"type": ...}) e pela fábrica.
no setteroverride

Methods

data() Map<String, Object?>
Representação serializável (sem o type, que é injetado por toJson).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
inherited
toMarkdown() String
Markdown equivalente — funil único de renderização do corpo do post.
override
toString() String
A string representation of this object.
inherited

Operators

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