DraftView constructor
- @JsonSerializable.new(includeIfNull: false)
Implementation
@JsonSerializable(includeIfNull: false)
const factory DraftView({
@Default('app.bsky.draft.defs#draftView') String $type,
/// A TID to be used as a draft identifier.
required String id,
@DraftConverter() required Draft draft,
/// The time the draft was created.
required DateTime createdAt,
/// The time the draft was last updated.
required DateTime updatedAt,
Map<String, dynamic>? $unknown,
}) = _DraftView;