InterestsPref constructor
- @JsonSerializable(includeIfNull: false)
const
InterestsPref(
{ - @Default(appBskyActorDefsInterestsPref) @JsonKey(name: r'$type') String $type,
- required List<String> tags,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory InterestsPref({
/// The unique namespace for this lex object.
///
/// `app.bsky.actor.defs#interestsPref`
@Default(appBskyActorDefsInterestsPref)
@JsonKey(name: r'$type')
String $type,
/// A list of tags which describe the account owner's interests
/// gathered during onboarding.
required List<String> tags,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _InterestsPref;