parse static method

SearchResult parse(
  1. Map m
)

Implementation

static SearchResult parse(Map m) {
  return new SearchResult(
      Location.parse(m['location']),
      m['kind'],
      m['isPotential'],
      new List.from(m['path'].map((obj) => Element.parse(obj))));
}