void fromMap()

in cpp/include/darabonba/file_form.hpp [48:58]


  void fromMap(map<string, boost::any> m) override {
    if (m.find("filename") != m.end()) {
      filename = make_shared<string>(boost::any_cast<string>(m["filename"]));
    }
    if (m.find("contentType") != m.end()) {
      contentType = make_shared<string>(boost::any_cast<string>(m["contentType"]));
    }
    if (m.find("content") != m.end()) {
      content = make_shared<Darabonba::Stream>(boost::any_cast<Darabonba::Stream>(m["content"]));
    }
  }