Subject class

Contains useful data for a particular subject.

Constructors

Subject({required String code, required int sect, required String title, required double chr, required String? venue, required List<String> lect, required List<DayTime?> dayTime})
Subject.fromJson(Map<String, dynamic> json)

Properties

chr double
Credit hour
getter/setter pair
code String
Course Code. Example: "MCTE 3373"
getter/setter pair
dayTime List<DayTime?>
Day and Time for the class.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lect List<String>
List of lecturer(s) teaching the subject
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sect int
Class section
getter/setter pair
title String
Name of the course. Example: "INDUSTRIAL AUTOMATION"
getter/setter pair
venue String?
Venue. Return null is venue is TBD
getter/setter pair

Methods

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

Operators

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