copyWith method

ChangedValueBean copyWith({
  1. String? changedFrom,
  2. String? changedTo,
  3. String? fieldName,
})

Implementation

ChangedValueBean copyWith(
    {String? changedFrom, String? changedTo, String? fieldName}) {
  return ChangedValueBean(
    changedFrom: changedFrom ?? this.changedFrom,
    changedTo: changedTo ?? this.changedTo,
    fieldName: fieldName ?? this.fieldName,
  );
}