SkeletonFeedPost constructor

  1. @JsonSerializable(includeIfNull: false)
const SkeletonFeedPost({
  1. @Default(appBskyFeedDefsSkeletonFeedPost) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri post,
  3. @USkeletonFeedPostReasonConverter() USkeletonFeedPostReason? reason,
  4. String? feedContext,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SkeletonFeedPost({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.feed.defs#skeletonFeedPost`
  @Default(appBskyFeedDefsSkeletonFeedPost)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() required AtUri post,
  @USkeletonFeedPostReasonConverter() USkeletonFeedPostReason? reason,

  /// Context that will be passed through to client and may be passed
  /// to feed generator back alongside interactions.
  String? feedContext,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _SkeletonFeedPost;