parse static method

Outline parse(
  1. Map m
)

Implementation

static Outline parse(Map m) {
  return new Outline(Element.parse(m['element']), m['offset'], m['length'],
      m['codeOffset'], m['codeLength'],
      children: m['children'] == null
          ? null
          : new List.from(m['children'].map((obj) => Outline.parse(obj))));
}