StatusLogEntry class
- Inheritance
-
- Object
- GoalLogEntry
- StatusLogEntry
Constructors
- StatusLogEntry({required String id, required DateTime creationTime, GoalStatus? status, DateTime? startTime, DateTime? endTime})
-
const
Properties
- creationTime → DateTime
-
finalinherited
- endTime → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime?
-
final
- status → GoalStatus?
-
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String json, int? version) → StatusLogEntry -
fromJsonMap(
dynamic json, int? version) → StatusLogEntry -
override
-
fromPrevious(
StatusLogEntry? legacyEntry) → StatusLogEntry? -
override
-
toJson(
StatusLogEntry entry) → String -
toJsonMap(
StatusLogEntry statusLogEntry) → Map< String, dynamic> -
override
Constants
- FIRST_VERSION → const int