feat: do not print file contents

This commit is contained in:
Tien Do Nam
2024-11-28 14:04:07 +01:00
parent a3ec31620d
commit 8a38a89e32
2 changed files with 10 additions and 0 deletions
@@ -19,4 +19,9 @@ class WebSendState with WebSendStateMappable {
required this.pin,
required this.pinAttempts,
});
@override
String toString() {
return 'WebSendState(sessions: $sessions, files: <${files.keys}>, autoAccept: $autoAccept, pin: $pin, pinAttempts: $pinAttempts)';
}
}
@@ -24,4 +24,9 @@ class ServerState with ServerStateMappable {
required this.webSendState,
required this.pinAttempts,
});
@override
String toString() {
return 'ServerState(alias: $alias, port: $port, https: $https, session: $session, webSendState: $webSendState, pinAttempts: $pinAttempts)';
}
}