decodeKeyValuePair function
(String, Object?)
decodeKeyValuePair(
- ParsedLine line,
- LineCursor cursor,
- int baseDepth,
- ResolvedDecodeOptions options,
Decodes a key-value pair
Implementation
(String, Object?) decodeKeyValuePair(
ParsedLine line,
LineCursor cursor,
int baseDepth,
ResolvedDecodeOptions options,
) {
cursor.advance();
final kv = _decodeKeyValue(line.content, cursor, baseDepth, options);
return (kv.key, kv.value);
}