Gets a configuration value from the dslink.json
Source
Object getConfig(String key) {
if (dslinkJson != null &&
dslinkJson["configs"] is Map &&
dslinkJson["configs"][key] is Map &&
dslinkJson["configs"][key].containsKey("value")) {
return dslinkJson["configs"][key]["value"];
}
return null;
}