UDraftThreadgateAllow class sealed

Available extensions
Annotations
  • @freezed

Constructors

UDraftThreadgateAllow.followerRule({required FollowerRule data})
const
factory
UDraftThreadgateAllow.followingRule({required FollowingRule data})
const
factory
UDraftThreadgateAllow.listRule({required ListRule data})
const
factory
UDraftThreadgateAllow.mentionRule({required MentionRule data})
const
factory
UDraftThreadgateAllow.unknown({required Map<String, dynamic> data})
const
factory

Properties

data Object
no setterinherited
followerRule FollowerRule?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
followingRule FollowingRule?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
hashCode int
The hash code for this object.
no setterinherited
isFollowerRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isFollowingRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isListRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isMentionRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isNotFollowerRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isNotFollowingRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isNotListRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isNotMentionRule bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isNotUnknown bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
isUnknown bool

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
listRule ListRule?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
mentionRule MentionRule?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unknown Map<String, dynamic>?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowExtension extension

no setter

Methods

map<TResult extends Object?>({required TResult mentionRule(UDraftThreadgateAllowMentionRule value), required TResult followerRule(UDraftThreadgateAllowFollowerRule value), required TResult followingRule(UDraftThreadgateAllowFollowingRule value), required TResult listRule(UDraftThreadgateAllowListRule value), required TResult unknown(UDraftThreadgateAllowUnknown value)}) → TResult

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>({TResult? mentionRule(UDraftThreadgateAllowMentionRule value)?, TResult? followerRule(UDraftThreadgateAllowFollowerRule value)?, TResult? followingRule(UDraftThreadgateAllowFollowingRule value)?, TResult? listRule(UDraftThreadgateAllowListRule value)?, TResult? unknown(UDraftThreadgateAllowUnknown value)?}) → TResult?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>({TResult mentionRule(UDraftThreadgateAllowMentionRule value)?, TResult followerRule(UDraftThreadgateAllowFollowerRule value)?, TResult followingRule(UDraftThreadgateAllowFollowingRule value)?, TResult listRule(UDraftThreadgateAllowListRule value)?, TResult unknown(UDraftThreadgateAllowUnknown value)?, required TResult orElse()}) → TResult

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>({TResult mentionRule(MentionRule data)?, TResult followerRule(FollowerRule data)?, TResult followingRule(FollowingRule data)?, TResult listRule(ListRule data)?, TResult unknown(Map<String, dynamic> data)?, required TResult orElse()}) → TResult

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult mentionRule(MentionRule data), required TResult followerRule(FollowerRule data), required TResult followingRule(FollowingRule data), required TResult listRule(ListRule data), required TResult unknown(Map<String, dynamic> data)}) → TResult

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>({TResult? mentionRule(MentionRule data)?, TResult? followerRule(FollowerRule data)?, TResult? followingRule(FollowingRule data)?, TResult? listRule(ListRule data)?, TResult? unknown(Map<String, dynamic> data)?}) → TResult?

Available on UDraftThreadgateAllow, provided by the UDraftThreadgateAllowPatterns extension

A variant of when that fallback to returning null

Operators

operator ==(Object other) bool
The equality operator.
inherited