From db13c67ea77ca0d3637ff1e4db0f17b89c6445b9 Mon Sep 17 00:00:00 2001 From: Hugo Bayer Date: Tue, 28 Jan 2020 09:18:25 +0100 Subject: [PATCH] add server data class --- lib/server.dart | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/server.dart b/lib/server.dart index e69de29..c6d694f 100644 --- a/lib/server.dart +++ b/lib/server.dart @@ -0,0 +1,13 @@ +enum ServerStatus{ + unknown, timeout, responding, dnserror +} + +class Server { + String uri; + String displayName; + ServerStatus status; + + Server(this.uri, this.displayName); + + +} \ No newline at end of file -- 2.47.0