Course class

Annotations
  • @freezed

Constructors

Course({required String id, @Default(null) String? v, required String name, @Default('') String description, required List<Event> schedule, required List<Assignment> assignments, required List<Test> tests, required CourseStatus status, required List<DateTime> statusChanges, @Default(null) Object? attachment})
const
factory
Course.fromJson(Json json)
factory

Properties

assignments List<Assignment>
no setterinherited
attachment Object?
no setterinherited
copyWith → $CourseCopyWith<Course>
no setterinherited
description String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
name String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule List<Event>
no setterinherited
status CourseStatus
no setterinherited
statusChanges List<DateTime>
no setterinherited
tests List<Test>
no setterinherited
v String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited