toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final alternateLink = this.alternateLink;
  final assigneeMode = this.assigneeMode;
  final courseId = this.courseId;
  final creationTime = this.creationTime;
  final creatorUserId = this.creatorUserId;
  final description = this.description;
  final id = this.id;
  final individualStudentsOptions = this.individualStudentsOptions;
  final materials = this.materials;
  final scheduledTime = this.scheduledTime;
  final state = this.state;
  final title = this.title;
  final topicId = this.topicId;
  final updateTime = this.updateTime;
  return {
    'alternateLink': ?alternateLink,
    'assigneeMode': ?assigneeMode,
    'courseId': ?courseId,
    'creationTime': ?creationTime,
    'creatorUserId': ?creatorUserId,
    'description': ?description,
    'id': ?id,
    'individualStudentsOptions': ?individualStudentsOptions,
    'materials': ?materials,
    'scheduledTime': ?scheduledTime,
    'state': ?state,
    'title': ?title,
    'topicId': ?topicId,
    'updateTime': ?updateTime,
  };
}