AdultContentPref constructor

  1. @JsonSerializable(includeIfNull: false)
const AdultContentPref({
  1. @Default('app.bsky.actor.defs#adultContentPref') String $type,
  2. @Default(false) bool enabled,
  3. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory AdultContentPref({
  @Default('app.bsky.actor.defs#adultContentPref') String $type,
  @Default(false) bool enabled,

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