ListItemView constructor

const ListItemView({
  1. @Default.new('app.bsky.graph.defs#listItemView') String $type,
  2. @AtUriConverter.new() required AtUri uri,
  3. @ProfileViewConverter() required ProfileView subject,
  4. bool? subjectOptedOut,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ListItemView({
  @Default('app.bsky.graph.defs#listItemView') String $type,
  @AtUriConverter() required AtUri uri,
  @ProfileViewConverter() required ProfileView subject,

  /// Set to true when the subject has opted out of appearing in the reference list. Only set when the viewer owns the list.
  bool? subjectOptedOut,

  Map<String, dynamic>? $unknown,
}) = _ListItemView;