parse static method

Occurrences parse(
  1. Map m
)

Implementation

static Occurrences parse(Map m) {
  return new Occurrences(
      Element.parse(m['element']), new List.from(m['offsets']), m['length']);
}