From c403355b3b93ba8205aa2d256a749d6e705d4db0 Mon Sep 17 00:00:00 2001 From: Clint Purser Date: Mon, 16 Sep 2024 12:58:58 -0400 Subject: [PATCH] make RobotClientOptions parameters final (#260) this was --- lib/src/robot/client.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/robot/client.dart b/lib/src/robot/client.dart index 9591929e246..287a7e85582 100644 --- a/lib/src/robot/client.dart +++ b/lib/src/robot/client.dart @@ -20,19 +20,19 @@ Logger _logger = Logger(); /// The options that define the behavior of the [RobotClient]. class RobotClientOptions { /// Options for connecting to the robot - final DialOptions dialOptions; + DialOptions dialOptions; /// The frequency (in seconds) at which to check if the robot is still connected. 0 (zero) signifies no connection checks - final checkConnectionInterval = 10; + int checkConnectionInterval = 10; /// The frequency (in seconds) at which to attempt to reconnect a disconnected robot. 0 (zero) signifies no reconnection attempts - final attemptReconnectInterval = 1; + int attemptReconnectInterval = 1; /// Whether sessions are enabled - final enableSessions = true; + bool enableSessions = true; /// The log level desired - final Level logLevel = Level.debug; + Level logLevel = Level.debug; RobotClientOptions() : dialOptions = DialOptions();