Course class Null safety

Constructors

Course({String? code, String? title, String? className, String? group, String? units, String? hours, String? required, String? at, List<SectionTime>? times, Location? location, List<String>? instructors})
Course.fromJson(Map<String, dynamic> json)
factory
Course.fromRawJson(String str)
factory

Properties

at String?
read / write
className String?
read / write
code String?
read / write
group String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hours String?
read / write
instructors List<String>?
read / write
location Location?
read / write
required String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
times List<SectionTime>?
read / write
title String?
read / write
units String?
read / write

Methods

copyWith({String? code, String? title, String? className, String? group, String? units, String? hours, String? required, String? at, List<SectionTime>? times, Location? location, List<String>? instructors}) Course
getInstructors() String
getTimesShortName(List<TimeCode>? timeCode) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toRawJson() String
toString() String
A string representation of this object. [...]
inherited

Operators

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