Settings class
Contains the settings for running the dashboard and the rover.
Constructors
- Settings({required NetworkSettings network, required EasterEggsSettings easterEggs, required ScienceSettings science, required ArmSettings arm, required DashboardSettings dashboard})
-
A const constructor.
const
- Settings.fromJson(Json json)
- Initialize settings from Json.
Properties
- arm → ArmSettings
-
Settings for the arm.
final
- dashboard → DashboardSettings
-
Settings related to the dashboard itself.
final
- easterEggs → EasterEggsSettings
-
Settings for easter eggs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- network → NetworkSettings
-
Settings for the network, like IP addresses and ports.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- science → ScienceSettings
-
Settings for the science analysis.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json - Converts the data from the settings instance to Json.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited