Changed test server connection

This commit is contained in:
Juan Gilsanz Polo
2024-02-26 22:42:13 +01:00
parent 75d025fdfc
commit 4bac98e573
12 changed files with 106 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import 'package:linkdy/constants/enums.dart';
class ConnectModel {
bool isConnecting;
int method;
@@ -12,6 +14,7 @@ class ConnectModel {
final TextEditingController tokenController;
String? tokenError;
bool validValues;
LoadStatus? testConnection;
ConnectModel({
this.isConnecting = false,
@@ -25,5 +28,6 @@ class ConnectModel {
required this.tokenController,
this.tokenError,
this.validValues = true,
this.testConnection,
});
}