NotFoundActor constructor

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

Implementation

@JsonSerializable(includeIfNull: false)
const factory NotFoundActor({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.graph.defs#notFoundActor`
  @Default(appBskyGraphDefsNotFoundActor)
  @JsonKey(name: r'$type')
  String $type,
  required String actor,
  required bool notFound,

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