ListBlock class

Lista de itens — ordenada (números) ou não (marcadores).

Inheritance

Constructors

ListBlock(List<String> items, {bool ordered = false})
const
ListBlock.fromJson(Map<String, Object?> j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
items List<String>
final
ordered bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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