ListValueToken constructor

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

Construct a new instance.

Implementation

ListValueToken({
  required Map<int, int> currentSize,
  required int currentDepth,
  required ArrayDecodingKeyGenerator keygen,
  required String currentValue,
  required String currentCharacter,
  required int index,
}) : super(
        index: index,
        depth: currentDepth,
        size: currentSize,
        value: "$currentValue$currentCharacter",
        key: keygen.currentKey,
      );