copyWith method

ChangeDetails copyWith({
  1. String? field,
  2. String? fieldId,
  3. String? fieldtype,
  4. String? from,
  5. String? fromString,
  6. String? to,
  7. String? toString$,
})

Implementation

ChangeDetails copyWith(
    {String? field,
    String? fieldId,
    String? fieldtype,
    String? from,
    String? fromString,
    String? to,
    String? toString$}) {
  return ChangeDetails(
    field: field ?? this.field,
    fieldId: fieldId ?? this.fieldId,
    fieldtype: fieldtype ?? this.fieldtype,
    from: from ?? this.from,
    fromString: fromString ?? this.fromString,
    to: to ?? this.to,
    toString$: toString$ ?? this.toString$,
  );
}