Grade class
- Inheritance
-
- Object
- TeachingUnitElement
- Grade
- Available extensions
- Annotations
-
- @CopyWith()
- @HiveType(typeId: 9)
Constructors
-
Grade.new({required String title, required String author, required DateTime? date, required double position, required double numerator, required double denominator, required int rank, required double average, required double mediane, required bool isValid, required int groupeSize, required List<
Grade> children, required double coef}) - Grade.fromJSON(dynamic id, dynamic json, dynamic stats, dynamic line, dynamic column, String user)
Properties
-
latefinalinherited
- average ↔ double
-
latefinal
-
children
↔ List<
Grade> -
latefinal
- coef ↔ double
-
latefinal
- copyWith → _$GradeCWProxy
-
Available on Grade, provided by the $GradeCopyWith extension
Returns a callable class that can be used as follows:instanceOfGrade.copyWith(...)
or like so:instanceOfGrade.copyWith.fieldName(...)
.no setter -
customProps
→ List<
Object?> -
no setteroverride
- date ↔ DateTime?
-
latefinalinherited
- denominator ↔ double
-
latefinal
- groupeSize ↔ int
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- isValid ↔ bool
-
latefinal
- isVisible → bool
-
no setteroverride
- mediane ↔ double
-
latefinal
- numerator ↔ double
-
latefinal
- position ↔ double
-
latefinalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- rank ↔ int
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - title ↔ String
-
latefinalinherited
Methods
-
addChild(
Grade child) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeChild(
Grade child) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited