toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final courseId = this.courseId;
  final name = this.name;
  final topicId = this.topicId;
  final updateTime = this.updateTime;
  return {
    'courseId': ?courseId,
    'name': ?name,
    'topicId': ?topicId,
    'updateTime': ?updateTime,
  };
}