DSLinkJSON.from(Map<String, dynamic> map)

Source

factory DSLinkJSON.from(Map<String, dynamic> map) {
  var j = new DSLinkJSON();
  j._json = map;
  j.name = map["name"];
  j.version = map["version"];
  j.description = map["description"];
  j.main = map["main"];
  j.engines = map["engines"] as Map<String, dynamic>;
  j.configs = map["configs"] as Map<String, Map<String, dynamic>>;
  j.getDependencies = map["getDependencies"] as List<String>;
  return j;
}