parse static method

Occurrences parse(
  1. Map m
)

Implementation

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