CourseNotifyData class

Annotations
  • @JsonSerializable()

Constructors

CourseNotifyData({int version = 2, int lastId = 1, List<CourseNotify> data = const <CourseNotify>[]})
CourseNotifyData.fromJson(Map<String, dynamic> json)
factory
CourseNotifyData.fromRawJson(String str)
factory
CourseNotifyData.load(String? tag)
factory
CourseNotifyData.loadCurrent()
factory

Properties

data List<CourseNotify>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastId int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String?
getter/setter pair
version int
getter/setter pair

Methods

getByCode(String? code, String? startTime, int weekIndex) CourseNotify?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save() → void
toJson() Map<String, dynamic>
toRawJson() String
toString() String
A string representation of this object.
inherited
update(BuildContext context, String tag, CourseData courseData) → void

Operators

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

Static Methods

clearOldVersionNotification({required String tag, required String newTag}) → void

Constants

initialId → const int
VERSION → const int