copyWith method

OrderTransaction copyWith({
  1. int? id,
  2. int? displayId,
})

Implementation

OrderTransaction copyWith({
  int? id,
  int? displayId,
}) =>
    OrderTransaction(
      id: id ?? this.id,
      displayId: displayId ?? this.displayId,
    );