saveSettings method
- String id
Saves these settings to the rover and updates the UI.
Implementation
Future<bool> saveSettings(String id) async {
isLoading = true;
error = null;
notifyListeners();
try {
await models.video.updateCamera(id, value);
} on RequestNotAccepted {
error = "Rover did not accept this request";
}
isLoading = false;
notifyListeners();
return error == null;
}