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