copyWith method
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,
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,
);
}