ReplyRef class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ReplyRef.new({@Default('app.bsky.feed.defs#replyRef') String $type, @UReplyRefRootConverter() required UReplyRefRoot root, @UReplyRefParentConverter() required UReplyRefParent parent, @ProfileViewBasicConverter() ProfileViewBasic? grandparentAuthor, Map<
String, dynamic> ? $unknown}) -
constfactory
-
ReplyRef.fromJson(Map<
String, Object?> json) -
factory
Properties
- $type → String
-
no setterinherited
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
-
copyWith
→ $ReplyRefCopyWith<
ReplyRef> -
Create a copy of ReplyRef
with the given fields replaced by the non-null parameter values.
no setterinherited
- grandparentAuthor → ProfileViewBasic?
-
When parent is a reply to another post, this is the author of that post.
no setterinherited
- hasGrandparentAuthor → bool
-
Available on ReplyRef, provided by the ReplyRefExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasNotGrandparentAuthor → bool
-
Available on ReplyRef, provided by the ReplyRefExtension extension
no setter - parent → UReplyRefParent
-
no setterinherited
- root → UReplyRefRoot
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ReplyRef value)) → TResult -
Available on ReplyRef, provided by the ReplyRefPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_ReplyRef value)?) → TResult? -
Available on ReplyRef, provided by the ReplyRefPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_ReplyRef value)?, {required TResult orElse()}) → TResult -
Available on ReplyRef, provided by the ReplyRefPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(String $type, UReplyRefRoot root, UReplyRefParent parent, ProfileViewBasic? grandparentAuthor, Map< String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on ReplyRef, provided by the ReplyRefPatterns 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 ReplyRef to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String $type, UReplyRefRoot root, UReplyRefParent parent, ProfileViewBasic? grandparentAuthor, Map< String, dynamic> ? $unknown)) → TResult -
Available on ReplyRef, provided by the ReplyRefPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String $type, UReplyRefRoot root, UReplyRefParent parent, ProfileViewBasic? grandparentAuthor, Map< String, dynamic> ? $unknown)?) → TResult? -
Available on ReplyRef, provided by the ReplyRefPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>