toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "creator": creator?.toMap(),
  "userId": userId,
  "children": children?.toMap(),
  "category": category?.toMap(),
  "media": media?.toMap(),
  "childrenCount": childrenCount,
  "commentsCount": commentsCount,
  "isFollowing": isFollowing,
  "childrenDebt": childrenDebt,
};