NotificationPutPreferencesV2Input class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
NotificationPutPreferencesV2Input.new({@ChatPreferenceConverter() ChatPreference? chat, @FilterablePreferenceConverter() FilterablePreference? follow, @FilterablePreferenceConverter() FilterablePreference? like, @FilterablePreferenceConverter() FilterablePreference? likeViaRepost, @FilterablePreferenceConverter() FilterablePreference? mention, @FilterablePreferenceConverter() FilterablePreference? quote, @FilterablePreferenceConverter() FilterablePreference? reply, @FilterablePreferenceConverter() FilterablePreference? repost, @FilterablePreferenceConverter() FilterablePreference? repostViaRepost, @PreferenceConverter() Preference? starterpackJoined, @PreferenceConverter() Preference? subscribedPost, @PreferenceConverter() Preference? unverified, @PreferenceConverter() Preference? verified, Map<
String, dynamic> ? $unknown}) -
constfactory
-
NotificationPutPreferencesV2Input.fromJson(Map<
String, Object?> json) -
factory
Properties
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
- chat → ChatPreference?
-
no setterinherited
-
copyWith
→ $NotificationPutPreferencesV2InputCopyWith<
NotificationPutPreferencesV2Input> -
Create a copy of NotificationPutPreferencesV2Input
with the given fields replaced by the non-null parameter values.
no setterinherited
- follow → FilterablePreference?
-
no setterinherited
- hasChat → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasFollow → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasLike → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasLikeViaRepost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasMention → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotChat → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotFollow → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotLike → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotLikeViaRepost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotMention → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotQuote → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotReply → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotRepost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotRepostViaRepost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotStarterpackJoined → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotSubscribedPost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotUnverified → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasNotVerified → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasQuote → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasReply → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasRepost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasRepostViaRepost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasStarterpackJoined → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasSubscribedPost → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasUnverified → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - hasVerified → bool
-
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputExtension extension
no setter - like → FilterablePreference?
-
no setterinherited
- likeViaRepost → FilterablePreference?
-
no setterinherited
- mention → FilterablePreference?
-
no setterinherited
- quote → FilterablePreference?
-
no setterinherited
- reply → FilterablePreference?
-
no setterinherited
- repost → FilterablePreference?
-
no setterinherited
- repostViaRepost → FilterablePreference?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- starterpackJoined → Preference?
-
no setterinherited
- subscribedPost → Preference?
-
no setterinherited
- unverified → Preference?
-
no setterinherited
- verified → Preference?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_NotificationPutPreferencesV2Input value)) → TResult -
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_NotificationPutPreferencesV2Input value)?) → TResult? -
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_NotificationPutPreferencesV2Input value)?, {required TResult orElse()}) → TResult -
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(ChatPreference? chat, FilterablePreference? follow, FilterablePreference? like, FilterablePreference? likeViaRepost, FilterablePreference? mention, FilterablePreference? quote, FilterablePreference? reply, FilterablePreference? repost, FilterablePreference? repostViaRepost, Preference? starterpackJoined, Preference? subscribedPost, Preference? unverified, Preference? verified, Map< String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this NotificationPutPreferencesV2Input to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(ChatPreference? chat, FilterablePreference? follow, FilterablePreference? like, FilterablePreference? likeViaRepost, FilterablePreference? mention, FilterablePreference? quote, FilterablePreference? reply, FilterablePreference? repost, FilterablePreference? repostViaRepost, Preference? starterpackJoined, Preference? subscribedPost, Preference? unverified, Preference? verified, Map< String, dynamic> ? $unknown)) → TResult -
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(ChatPreference? chat, FilterablePreference? follow, FilterablePreference? like, FilterablePreference? likeViaRepost, FilterablePreference? mention, FilterablePreference? quote, FilterablePreference? reply, FilterablePreference? repost, FilterablePreference? repostViaRepost, Preference? starterpackJoined, Preference? subscribedPost, Preference? unverified, Preference? verified, Map< String, dynamic> ? $unknown)?) → TResult? -
Available on NotificationPutPreferencesV2Input, provided by the NotificationPutPreferencesV2InputPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>