UReplyRefRoot class

Implementers
Available extensions
Annotations
  • @freezed

Constructors

UReplyRefRoot.blockedPost({required BlockedPost data})
const
factory
UReplyRefRoot.notFoundPost({required NotFoundPost data})
const
factory
UReplyRefRoot.postView({required PostView data})
const
factory
UReplyRefRoot.unknown({required Map<String, dynamic> data})
const
factory

Properties

blockedPost BlockedPost

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns this data as BlockedPost.
no setter
blockedPostOrNull BlockedPost?

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

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

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns true if this data is BlockedPost, otherwise false.
no setter
isNotBlockedPost bool

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns true if this data is not BlockedPost, otherwise false.
no setter
isNotFoundPost bool

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns true if this data is NotFoundPost, otherwise false.
no setter
isNotNotFoundPost bool

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns true if this data is not NotFoundPost, otherwise false.
no setter
isNotPostView bool

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

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

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

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

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns true if this data is PostView, otherwise false.
no setter
isUnknown bool

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns true if this data is unknown object, otherwise false.
no setter
notFoundPost NotFoundPost

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns this data as NotFoundPost.
no setter
notFoundPostOrNull NotFoundPost?

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns NotFoundPost if this data is NotFoundPost, otherwise null.
no setter
postView PostView

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns this data as PostView.
no setter
postViewOrNull PostView?

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

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

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

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

Available on UReplyRefRoot, provided by the $UReplyRefRootExtension extension

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

Methods

map<TResult extends Object?>({required TResult postView(UReplyRefRootPostView value), required TResult notFoundPost(UReplyRefRootNotFoundPost value), required TResult blockedPost(UReplyRefRootBlockedPost value), required TResult unknown(UReplyRefRootUnknown value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? postView(UReplyRefRootPostView value)?, TResult? notFoundPost(UReplyRefRootNotFoundPost value)?, TResult? blockedPost(UReplyRefRootBlockedPost value)?, TResult? unknown(UReplyRefRootUnknown value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult postView(UReplyRefRootPostView value)?, TResult notFoundPost(UReplyRefRootNotFoundPost value)?, TResult blockedPost(UReplyRefRootBlockedPost value)?, TResult unknown(UReplyRefRootUnknown value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult postView(PostView data)?, TResult notFoundPost(NotFoundPost data)?, TResult blockedPost(BlockedPost 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 UReplyRefRoot, provided by the $UReplyRefRootExtension extension

Returns JSON representation.
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult postView(PostView data), required TResult notFoundPost(NotFoundPost data), required TResult blockedPost(BlockedPost data), required TResult unknown(Map<String, dynamic> data)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? postView(PostView data)?, TResult? notFoundPost(NotFoundPost data)?, TResult? blockedPost(BlockedPost data)?, TResult? unknown(Map<String, dynamic> data)?}) → TResult?
inherited

Operators

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