copyWith method

PaymentStatus copyWith({
  1. int? id,
  2. String? label,
})

Implementation

PaymentStatus copyWith({
  int? id,
  String? label,
}) =>
    PaymentStatus(
      id: id ?? this.id,
      label: label ?? this.label,
    );