copyWith method

PremiumLimit copyWith({
  1. PremiumLimitType? type,
  2. int? defaultValue,
  3. int? premiumValue,
})

Implementation

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