toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final author = this.author;
final createTime = this.createTime;
final name = this.name;
final text = this.text;
final topAnswers = this.topAnswers;
final totalAnswerCount = this.totalAnswerCount;
final updateTime = this.updateTime;
final upvoteCount = this.upvoteCount;
return {
'author': ?author,
'createTime': ?createTime,
'name': ?name,
'text': ?text,
'topAnswers': ?topAnswers,
'totalAnswerCount': ?totalAnswerCount,
'updateTime': ?updateTime,
'upvoteCount': ?upvoteCount,
};
}