ListValueSeparatorToken constructor

ListValueSeparatorToken({
  1. required Map<int, int> currentSize,
  2. required int currentDepth,
  3. required ArrayDecodingKeyGenerator keygen,
  4. required String currentValue,
  5. required Map<String, JsonNode> output,
  6. required int index,
})

Construct a new instance.

Implementation

ListValueSeparatorToken({
  required Map<int, int> currentSize,
  required int currentDepth,
  required ArrayDecodingKeyGenerator keygen,
  required String currentValue,
  required Map<String, JsonNode> output,
  required int index,
}) : super(
        index: index,
        depth: currentDepth,
        size: _size(currentSize, currentDepth),
        value: _simpleValue(
          currentValue: currentValue,
          currentKey: keygen.currentKey,
          output: output,
        ),
        key: keygen.nextKey(output.keys.toList(), ListValueSeparatorToken),
      );