fields method

Parser<Map<String, String>> fields()

Implementation

Parser<Map<String, String>> fields() => ref0(field)
    .starSeparated(char(',').trim())
    .map((list) => Map.fromEntries(list.elements));