Post constructor
Post(
- Map map
Implementation
Post(Map map)
: uri = map["uri"],
cid = map["cid"],
author = ProfileViewBasic(map["author"]),
record = Record(map["record"]),
embed = map["embed"] == null ? null : Embed(map["embed"]),
replyCount = map["replyCount"],
repostCount = map["repostCount"],
likeCount = map["likeCount"],
indexedAt = DateTime.parse((map["indexedAt"])),
viewer = map["viewer"] == null ? null : Viewer(map["viewer"]),
labels = map["labels"];