GradeListState class Null safety
State of GradeListBloc.
Constructors
-
GradeListState({GradeListRequestStatus status = GradeListRequestStatus.initial, Map<
String, List< grades = const {}, String errorMessage = '', String selectedManagement = ''})CourseGrade> > -
const
Properties
- errorMessage → String
-
Error message in case that status is failure,
in other words, when the request to retrieve grades has failed.
final
-
grades
→ Map<
String, List< CourseGrade> > -
Grades grouped by management.
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selectedManagement → String
-
Key to select a grade list by management.
final
- status → GradeListRequestStatus
-
Http request status when retrieving grades.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.read-only, inherited
Methods
-
copyWith(
{GradeListRequestStatus? status, Map< String, List< ? grades, String? errorMessage, String? selectedManagement}) → GradeListStateCourseGrade> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited