UserSemesterRanking class

Inheritance
Implemented types

Constructors

UserSemesterRanking({required int summary, required RankingType rankingType, required int semesterRank, required int semesterTotal, required int grandTotalRank, required int grandTotalTotal})
const
UserSemesterRanking.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

grandTotalRank int
Position in the cumulative ranking (歷年成績排名).
final
grandTotalTotal int
Total students in the comparison group for cumulative ranking.
final
hashCode int
The hash code for this object.
no setteroverride
rankingType RankingType
The scope of this ranking (class, group, or department).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semesterRank int
Position in the semester ranking (學期成績排名).
final
semesterTotal int
Total students in the comparison group for semester ranking.
final
summary int
Reference to the user semester summary.
final

Methods

copyWith({int? summary, RankingType? rankingType, int? semesterRank, int? semesterTotal, int? grandTotalRank, int? grandTotalTotal}) UserSemesterRanking
copyWithCompanion(UserSemesterRankingsCompanion data) UserSemesterRanking
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
override
toCompanion(bool nullToAbsent) UserSemesterRankingsCompanion
toJson({ValueSerializer? serializer}) Map<String, dynamic>
Converts this object into a representation that can be encoded with json. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
override
toJsonString({ValueSerializer? serializer}) String
Converts this object into a json representation. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toString() String
A string representation of this object.
override

Operators

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