Skip to content

Commit c403355

Browse files
authored
make RobotClientOptions parameters final (#260)
this was
1 parent 83e393a commit c403355

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/src/robot/client.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ Logger _logger = Logger();
2020
/// The options that define the behavior of the [RobotClient].
2121
class RobotClientOptions {
2222
/// Options for connecting to the robot
23-
final DialOptions dialOptions;
23+
DialOptions dialOptions;
2424

2525
/// The frequency (in seconds) at which to check if the robot is still connected. 0 (zero) signifies no connection checks
26-
final checkConnectionInterval = 10;
26+
int checkConnectionInterval = 10;
2727

2828
/// The frequency (in seconds) at which to attempt to reconnect a disconnected robot. 0 (zero) signifies no reconnection attempts
29-
final attemptReconnectInterval = 1;
29+
int attemptReconnectInterval = 1;
3030

3131
/// Whether sessions are enabled
32-
final enableSessions = true;
32+
bool enableSessions = true;
3333

3434
/// The log level desired
35-
final Level logLevel = Level.debug;
35+
Level logLevel = Level.debug;
3636

3737
RobotClientOptions() : dialOptions = DialOptions();
3838

0 commit comments

Comments
 (0)