initEnvironmentAndGetJwt property
Implementation
Future<String> get initEnvironmentAndGetJwt async {
configItems = await ConfigService.getConfigItems();
deviceId = await DeviceIdService.getDeviceId();
ipLocal = await getLocalIpAddress();
ipPublic = await getPublicIpAddress();
platformInfo = getPlatformInfo();
var jwt = await storage.read(key: "jwt");
if (jwt == null) return "";
return jwt;
}