QuoteBlock class

Citação / destaque. cite é a fonte opcional (autor, veículo).

Inheritance

Constructors

QuoteBlock(String text, {String? cite})
const
QuoteBlock.fromJson(Map<String, Object?> j)
factory

Properties

cite String?
final
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
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