ScoreDetail class

Inheritance

Constructors

ScoreDetail({required int id, required int user, required int semester, int? score, ScoreStatus? status, required String code, required String nameZh, String? number})
const
ScoreDetail.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

code String
final
hashCode int
The hash code for this object.
no setteroverride
id int
final
nameZh String
final
number String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int?
final
semester int
final
status ScoreStatus?
final
user int
final

Methods

copyWith({int? id, int? user, int? semester, Value<int?> score = const Value.absent(), Value<ScoreStatus?> status = const Value.absent(), String? code, String? nameZh, Value<String?> number = const Value.absent()}) ScoreDetail
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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