ListOpeningBracketToken constructor

ListOpeningBracketToken({
  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

ListOpeningBracketToken({
  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 + 1,
        size: currentSize,
        value: currentValue,
        key: keygen.nextKey(output.keys.toList(), ListOpeningBracketToken),
      );