toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final commentId = this.commentId;
  final post = this.post;
  return {'commentId': ?commentId, 'post': ?post};
}