CourseDraftState class
O que o rascunho mostra (BL17): a pasta lida (files), o curso (course), os problemas (issues), a lição aberta (lessonId) e se ainda está lendo (loading).
Constructors
-
CourseDraftState({CourseFiles? files, Course? course, List<
CourseIssue> issues = const [], String? lessonId, bool loading = false}) -
const
Properties
- course → Course?
-
final
- files → CourseFiles?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
issues
→ List<
CourseIssue> -
final
- lessonId → String?
-
final
- loading → bool
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- 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
Methods
-
copyWith(
{CourseFiles? files, Course? course, List< CourseIssue> ? issues, String? lessonId, bool? loading}) → CourseDraftState -
Não serve para limpar um campo que já tem valor (a lição, o curso): quem
precisa de
nullmonta o estado inteiro. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited