ObjectOpeningBracketToken constructor

ObjectOpeningBracketToken({
  1. required Map<int, int> currentSize,
  2. required int currentDepth,
  3. required ArrayDecodingKeyGenerator keygen,
  4. required int index,
  5. required Map<String, JsonNode> output,
  6. required List<String> characters,
  7. required bool nestedInList,
})

Construct a new instance.

Implementation

ObjectOpeningBracketToken({
  required Map<int, int> currentSize,
  required int currentDepth,
  required ArrayDecodingKeyGenerator keygen,
  required int index,
  required Map<String, JsonNode> output,
  required List<String> characters,
  required bool nestedInList,
}) : super(
        index: _setObjectValueAndReturnRemainder(
          nestedInList: nestedInList,
          output: output,
          characters: characters,
          index: index,
          keygen: keygen,
        ),
        depth: currentDepth,
        size: currentSize,
        value: "",
        key: keygen.currentKey,
      );