UnspeccedGetPostThreadV2Input class abstract

Available extensions
Annotations
  • @freezed

Constructors

UnspeccedGetPostThreadV2Input({@AtUriConverter.new() required AtUri anchor, @Default.new(true) bool above, @Default.new(6) int below, @Default.new(10) int branchingFactor, @UnspeccedGetPostThreadV2SortConverter() UnspeccedGetPostThreadV2Sort? sort, Map<String, dynamic>? $unknown})
const
factory
UnspeccedGetPostThreadV2Input.fromJson(Map<String, Object?> json)
factory

Properties

$unknown Map<String, dynamic>?
no setterinherited
above bool
Whether to include parents above the anchor.
no setterinherited
anchor AtUri
Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post.
no setterinherited
below int
How many levels of replies to include below the anchor.
no setterinherited
branchingFactor int
Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated).
no setterinherited
copyWith → $UnspeccedGetPostThreadV2InputCopyWith<UnspeccedGetPostThreadV2Input>
Create a copy of UnspeccedGetPostThreadV2Input with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasNotSort bool

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputExtension extension

no setter
hasSort bool

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputExtension extension

no setter
isAbove bool

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputExtension extension

no setter
isNotAbove bool

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputExtension extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sort UnspeccedGetPostThreadV2Sort?
Sorting for the thread replies.
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_UnspeccedGetPostThreadV2Input value)) → TResult

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_UnspeccedGetPostThreadV2Input value)?) → TResult?

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_UnspeccedGetPostThreadV2Input value)?, {required TResult orElse()}) → TResult

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(AtUri anchor, bool above, int below, int branchingFactor, UnspeccedGetPostThreadV2Sort? sort, Map<String, dynamic>? $unknown)?, {required TResult orElse()}) → TResult

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputPatterns 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>
Serializes this UnspeccedGetPostThreadV2Input to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(AtUri anchor, bool above, int below, int branchingFactor, UnspeccedGetPostThreadV2Sort? sort, Map<String, dynamic>? $unknown)) → TResult

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(AtUri anchor, bool above, int below, int branchingFactor, UnspeccedGetPostThreadV2Sort? sort, Map<String, dynamic>? $unknown)?) → TResult?

Available on UnspeccedGetPostThreadV2Input, provided by the UnspeccedGetPostThreadV2InputPatterns extension

A variant of when that fallback to returning null

Operators

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

Constants

knownProps → const List<String>