copyWith method

  1. @override
UpdateUserPrivacySettingRules copyWith({
  1. UserPrivacySetting? setting,
  2. UserPrivacySettingRules? rules,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateUserPrivacySettingRules copyWith({
  UserPrivacySetting? setting,
  UserPrivacySettingRules? rules,
  dynamic extra,
  int? clientId,
}) => UpdateUserPrivacySettingRules(
  setting: setting ?? this.setting,
  rules: rules ?? this.rules,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);