copyWith method

PremiumLimit copyWith({
  1. PremiumLimitType? type,
  2. int? defaultValue,
  3. int? premiumValue,
  4. dynamic extra,
  5. int? clientId,
})

Implementation

PremiumLimit copyWith({
  PremiumLimitType? type,
  int? defaultValue,
  int? premiumValue,
  dynamic extra,
  int? clientId,
}) =>
    PremiumLimit(
      type: type ?? this.type,
      defaultValue: defaultValue ?? this.defaultValue,
      premiumValue: premiumValue ?? this.premiumValue,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );