copyWith method
JsonGetAttribute
copyWith({
- ID? cubitID,
- ID? stateID,
- ID? variableID,
- String? jsonPath,
- VariableTypes? type,
- int? overridedLoop,
- FormatOptionsHelper? formatOptions,
- FormatOptionsHelper? listFormatOptions,
Implementation
JsonGetAttribute copyWith({
ID? cubitID,
ID? stateID,
ID? variableID,
String? jsonPath,
VariableTypes? type,
int? overridedLoop,
FormatOptionsHelper? formatOptions,
FormatOptionsHelper? listFormatOptions,
}) =>
JsonGetAttribute(
cubitID: cubitID ?? this.cubitID,
stateID: stateID ?? this.stateID,
variableID: variableID ?? this.variableID,
jsonPath: jsonPath ?? this.jsonPath,
type: type ?? this.type,
overridedLoop: overridedLoop ?? this.overridedLoop,
formatOptions: formatOptions ?? this.formatOptions,
listFormatOptions: listFormatOptions ?? this.listFormatOptions,
);