UFeedViewPostReasonReasonRepost class abstract

Implemented types
Available extensions

Constructors

UFeedViewPostReasonReasonRepost.new({required ReasonRepost data})
const
factory

Properties

copyWith → _$$UFeedViewPostReasonReasonRepostImplCopyWith<_$UFeedViewPostReasonReasonRepostImpl>
no setter
data ReasonRepost
no setter
hashCode int
The hash code for this object.
no setterinherited
isNotReasonRepost bool

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

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

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

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

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

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

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

Returns true if this data is unknown object, otherwise false.
no setter
reasonRepost ReasonRepost

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

Returns this data as ReasonRepost.
no setter
reasonRepostOrNull ReasonRepost?

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

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

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

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

Available on UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

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

Methods

map<TResult extends Object?>({required TResult reasonRepost(UFeedViewPostReasonReasonRepost value), required TResult unknown(UFeedViewPostReasonUnknown value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? reasonRepost(UFeedViewPostReasonReasonRepost value)?, TResult? unknown(UFeedViewPostReasonUnknown value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult reasonRepost(UFeedViewPostReasonReasonRepost value)?, TResult unknown(UFeedViewPostReasonUnknown value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult reasonRepost(ReasonRepost 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 UFeedViewPostReason, provided by the $UFeedViewPostReasonExtension extension

Returns JSON representation.
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult reasonRepost(ReasonRepost data), required TResult unknown(Map<String, dynamic> data)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? reasonRepost(ReasonRepost data)?, TResult? unknown(Map<String, dynamic> data)?}) → TResult?
inherited

Operators

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