Post class

Constructors

Post.new(List<String> to, String? name, String? summary, bool? sensitive, String? inReplyTo, String content, String id, String type, DateTime published, String attributedTo, Collection? replies, List<Document>? attachment)
Post.fromJson(Map<String, dynamic> json)

Properties

attachment List<Document>?
final
attributedTo String
final
content String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
inReplyTo String?
final
name String?
final
published DateTime
final
replies Collection?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitive bool?
final
summary String?
final
to List<String>
final
type String
final

Methods

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

Static Methods

convertToStringList(dynamic json) List<String>
toListOfDocuments(dynamic json) List<Document>?