toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final attachmentId = this.attachmentId;
  final courseId = this.courseId;
  final itemId = this.itemId;
  final postId = this.postId;
  return {
    'attachmentId': ?attachmentId,
    'courseId': ?courseId,
    'itemId': ?itemId,
    'postId': ?postId,
  };
}