mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Added select server screen and add server screen
This commit is contained in:
parent
e1ff7a151d
commit
a97ae20631
22 changed files with 623 additions and 27 deletions
21
lib/models/server.dart
Normal file
21
lib/models/server.dart
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Server {
|
||||
final String name;
|
||||
final String connectionMethod;
|
||||
final String domain;
|
||||
final String? path;
|
||||
final int? port;
|
||||
final String user;
|
||||
final String password;
|
||||
final bool defaultServer;
|
||||
|
||||
const Server({
|
||||
required this.name,
|
||||
required this.connectionMethod,
|
||||
required this.domain,
|
||||
this.path,
|
||||
this.port,
|
||||
required this.user,
|
||||
required this.password,
|
||||
required this.defaultServer
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue