Config.fromJson constructor
Implementation
factory Config.fromJson(Map<String, String> json) {
Config config = Config(
operatorId: json['operatorId'] ?? "",
clientId: json['clientId'] ?? "",
clientSecret: json['clientSecret'] ?? "",
server: json['server'] ?? "",
static: json['static'] ?? "");
if (json["category"] != null) {
config.category = json["category"];
}
return config;
}