copyWith method

CreditNoteTabData copyWith({
  1. String? cnTypeId,
  2. String? name,
  3. String? cartCount,
})

Implementation

CreditNoteTabData copyWith({  String? cnTypeId,
  String? name,
  String? cartCount,
}) => CreditNoteTabData(  cnTypeId: cnTypeId ?? _cnTypeId,
  name: name ?? _name,
  cartCount: cartCount ?? _cartCount,
);