UThreadgateAllowFollowingRule class abstract

Implemented types
Available extensions

Constructors

UThreadgateAllowFollowingRule.new({required FollowingRule data})
const
factory

Properties

copyWith → _$$UThreadgateAllowFollowingRuleImplCopyWith<_$UThreadgateAllowFollowingRuleImpl>
no setter
data FollowingRule
no setter
followingRule FollowingRule

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns this data as FollowingRule.
no setter
followingRuleOrNull FollowingRule?

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns FollowingRule if this data is FollowingRule, otherwise null.
no setter
hashCode int
The hash code for this object.
no setterinherited
isFollowingRule bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is FollowingRule, otherwise false.
no setter
isListRule bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is ListRule, otherwise false.
no setter
isMentionRule bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is MentionRule, otherwise false.
no setter
isNotFollowingRule bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is not FollowingRule, otherwise false.
no setter
isNotListRule bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is not ListRule, otherwise false.
no setter
isNotMentionRule bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is not MentionRule, otherwise false.
no setter
isNotUnknown bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is not unknown object, otherwise false.
no setter
isUnknown bool

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns true if this data is unknown object, otherwise false.
no setter
listRule ListRule

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns this data as ListRule.
no setter
listRuleOrNull ListRule?

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns ListRule if this data is ListRule, otherwise null.
no setter
mentionRule MentionRule

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns this data as MentionRule.
no setter
mentionRuleOrNull MentionRule?

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns MentionRule if this data is MentionRule, otherwise null.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unknown Map<String, dynamic>

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns this data as JSON object.
no setter
unknownOrNull Map<String, dynamic>?

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns JSON object if this data is unknown, otherwise null.
no setter

Methods

map<TResult extends Object?>({required TResult mentionRule(UThreadgateAllowMentionRule value), required TResult followingRule(UThreadgateAllowFollowingRule value), required TResult listRule(UThreadgateAllowListRule value), required TResult unknown(UThreadgateAllowUnknown value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? mentionRule(UThreadgateAllowMentionRule value)?, TResult? followingRule(UThreadgateAllowFollowingRule value)?, TResult? listRule(UThreadgateAllowListRule value)?, TResult? unknown(UThreadgateAllowUnknown value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult mentionRule(UThreadgateAllowMentionRule value)?, TResult followingRule(UThreadgateAllowFollowingRule value)?, TResult listRule(UThreadgateAllowListRule value)?, TResult unknown(UThreadgateAllowUnknown value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult mentionRule(MentionRule data)?, TResult followingRule(FollowingRule data)?, TResult listRule(ListRule data)?, TResult unknown(Map<String, dynamic> data)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>

Available on UThreadgateAllow, provided by the $UThreadgateAllowExtension extension

Returns JSON representation.
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult mentionRule(MentionRule data), required TResult followingRule(FollowingRule data), required TResult listRule(ListRule data), required TResult unknown(Map<String, dynamic> data)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? mentionRule(MentionRule data)?, TResult? followingRule(FollowingRule data)?, TResult? listRule(ListRule data)?, TResult? unknown(Map<String, dynamic> data)?}) → TResult?
inherited

Operators

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