parser property

Parser<TomlKeyValuePair> parser
final

Parser for a TOML key/value pair.

Implementation

static final Parser<TomlKeyValuePair> parser = PairParser(
  TomlKey.parser.skip(
    after: tomlWhitespace & char(separator) & tomlWhitespace,
  ),
  TomlValue.parser,
).map((pair) => TomlKeyValuePair(pair.first, pair.second));