copyWith method

  1. @override
UpdateScopeNotificationSettings copyWith({
  1. NotificationSettingsScope? scope,
  2. ScopeNotificationSettings? notificationSettings,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateScopeNotificationSettings copyWith({
  NotificationSettingsScope? scope,
  ScopeNotificationSettings? notificationSettings,
  dynamic extra,
  int? clientId,
}) =>
    UpdateScopeNotificationSettings(
      scope: scope ?? this.scope,
      notificationSettings: notificationSettings ?? this.notificationSettings,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );