copyWith method

JsonGetAttribute copyWith({
  1. ID? cubitID,
  2. ID? stateID,
  3. ID? variableID,
  4. String? jsonPath,
  5. VariableTypes? type,
  6. int? overridedLoop,
  7. FormatOptionsHelper? formatOptions,
  8. 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,
    );