NotFoundPost constructor

  1. @JsonSerializable(includeIfNull: false)
const NotFoundPost({
  1. @Default(appBskyFeedDefsNotFoundPost) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri uri,
  3. required bool notFound,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory NotFoundPost({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.feed.defs#notFoundPost`
  @Default(appBskyFeedDefsNotFoundPost) @JsonKey(name: r'$type') String $type,
  @AtUriConverter() required AtUri uri,
  required bool notFound,

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