static Future<Result<dynamic>> logout() async { var result = await post(apiPath: "/api/v1/sessions"); if (result.isSuccess) { // NasDeviceConfig.setCurrentNasInfo(null); } return result; }