ContentLabelPref constructor
- @JsonSerializable(includeIfNull: false)
- @Default('app.bsky.actor.defs#contentLabelPref') String $type,
- String? labelerDid,
- required String label,
- @ContentLabelPrefVisibilityConverter() required ContentLabelPrefVisibility visibility,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory ContentLabelPref({
@Default('app.bsky.actor.defs#contentLabelPref') String $type,
/// Which labeler does this preference apply to? If undefined, applies globally.
String? labelerDid,
required String label,
@ContentLabelPrefVisibilityConverter()
required ContentLabelPrefVisibility visibility,
Map<String, dynamic>? $unknown,
}) = _ContentLabelPref;