start method
Implementation
@override
Future<bool> start({bool refresh = false, String? key}) async
{
bool ok = true;
if (socket == null && url != null) socket = Socket(url!, this);
if (socket != null)
{
ok = await socket!.connect();
connected = ok;
}
else
{
connected = false;
ok = false;
}
return ok;
}