LabelerViewDetailed constructor
- @JsonSerializable(includeIfNull: false)
const
LabelerViewDetailed(
{ - @Default(appBskyLabelerDefsLabelerViewDetailed) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required AtUri uri,
- required String cid,
- @ProfileViewConverter() required ProfileView creator,
- @LabelerPoliciesConverter() required LabelerPolicies policies,
- @Default(0) int likeCount,
- @LabelerViewerStateConverter() @Default(LabelerViewerState()) LabelerViewerState viewer,
- required DateTime indexedAt,
- @LabelConverter() List<Label>? labels,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory LabelerViewDetailed({
/// The unique namespace for this lex object.
///
/// `app.bsky.labeler.defs#labelerViewDetailed`
@Default(appBskyLabelerDefsLabelerViewDetailed)
@JsonKey(name: r'$type')
String $type,
@AtUriConverter() required AtUri uri,
required String cid,
@ProfileViewConverter() required ProfileView creator,
@LabelerPoliciesConverter() required LabelerPolicies policies,
@Default(0) int likeCount,
@LabelerViewerStateConverter()
@Default(LabelerViewerState())
LabelerViewerState viewer,
required DateTime indexedAt,
@LabelConverter() List<Label>? labels,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _LabelerViewDetailed;