BlogSource class abstract interface

Fonte de posts do blog. Abstrai DE ONDE os posts vêm — arquivos .md, banco de dados, API externa, etc. O Blog agrega uma ou mais fontes, então um mesmo site pode ter posts em Markdown e posts no banco.

Implementações: MarkdownBlogSource, DatabaseBlogSource, CompositeBlogSource.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadAll() Future<List<BlogPost>>
Carrega todos os posts desta fonte (sem ordenar/deduplicar — isso é responsabilidade do agregador).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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