copyWith method

JsonNode copyWith({
  1. bool? array,
  2. bool? bigDecimal,
  3. bool? bigInteger,
  4. int? bigIntegerValue,
  5. bool? binary,
  6. List<String>? binaryValue,
  7. bool? boolean,
  8. bool? booleanValue,
  9. bool? containerNode,
  10. num? decimalValue,
  11. bool? double$,
  12. num? doubleValue,
  13. Map<String, dynamic>? elements,
  14. Map<String, dynamic>? fieldNames,
  15. Map<String, dynamic>? fields,
  16. bool? floatingPointNumber,
  17. bool? int$,
  18. int? intValue,
  19. bool? integralNumber,
  20. bool? long,
  21. int? longValue,
  22. bool? missingNode,
  23. bool? null$,
  24. bool? number,
  25. JsonNodeNumberType? numberType,
  26. num? numberValue,
  27. bool? object,
  28. bool? pojo,
  29. String? textValue,
  30. bool? textual,
  31. bool? valueAsBoolean,
  32. num? valueAsDouble,
  33. int? valueAsInt,
  34. int? valueAsLong,
  35. String? valueAsText,
  36. bool? valueNode,
})

Implementation

JsonNode copyWith(
    {bool? array,
    bool? bigDecimal,
    bool? bigInteger,
    int? bigIntegerValue,
    bool? binary,
    List<String>? binaryValue,
    bool? boolean,
    bool? booleanValue,
    bool? containerNode,
    num? decimalValue,
    bool? double$,
    num? doubleValue,
    Map<String, dynamic>? elements,
    Map<String, dynamic>? fieldNames,
    Map<String, dynamic>? fields,
    bool? floatingPointNumber,
    bool? int$,
    int? intValue,
    bool? integralNumber,
    bool? long,
    int? longValue,
    bool? missingNode,
    bool? null$,
    bool? number,
    JsonNodeNumberType? numberType,
    num? numberValue,
    bool? object,
    bool? pojo,
    String? textValue,
    bool? textual,
    bool? valueAsBoolean,
    num? valueAsDouble,
    int? valueAsInt,
    int? valueAsLong,
    String? valueAsText,
    bool? valueNode}) {
  return JsonNode(
    array: array ?? this.array,
    bigDecimal: bigDecimal ?? this.bigDecimal,
    bigInteger: bigInteger ?? this.bigInteger,
    bigIntegerValue: bigIntegerValue ?? this.bigIntegerValue,
    binary: binary ?? this.binary,
    binaryValue: binaryValue ?? this.binaryValue,
    boolean: boolean ?? this.boolean,
    booleanValue: booleanValue ?? this.booleanValue,
    containerNode: containerNode ?? this.containerNode,
    decimalValue: decimalValue ?? this.decimalValue,
    double$: double$ ?? this.double$,
    doubleValue: doubleValue ?? this.doubleValue,
    elements: elements ?? this.elements,
    fieldNames: fieldNames ?? this.fieldNames,
    fields: fields ?? this.fields,
    floatingPointNumber: floatingPointNumber ?? this.floatingPointNumber,
    int$: int$ ?? this.int$,
    intValue: intValue ?? this.intValue,
    integralNumber: integralNumber ?? this.integralNumber,
    long: long ?? this.long,
    longValue: longValue ?? this.longValue,
    missingNode: missingNode ?? this.missingNode,
    null$: null$ ?? this.null$,
    number: number ?? this.number,
    numberType: numberType ?? this.numberType,
    numberValue: numberValue ?? this.numberValue,
    object: object ?? this.object,
    pojo: pojo ?? this.pojo,
    textValue: textValue ?? this.textValue,
    textual: textual ?? this.textual,
    valueAsBoolean: valueAsBoolean ?? this.valueAsBoolean,
    valueAsDouble: valueAsDouble ?? this.valueAsDouble,
    valueAsInt: valueAsInt ?? this.valueAsInt,
    valueAsLong: valueAsLong ?? this.valueAsLong,
    valueAsText: valueAsText ?? this.valueAsText,
    valueNode: valueNode ?? this.valueNode,
  );
}