DashboardModel class
- Annotations
Constructors
- DashboardModel.new({required int distance, required int duration, required bool soundsEnabled})
-
const
Properties
- distance → int
-
final
- duration → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- soundsEnabled → bool
-
final
Methods
-
copyWith(
{int? distance, int? duration, bool? soundsEnabled}) → DashboardModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override