Nux constructor
- @JsonSerializable(includeIfNull: false)
const
Nux(
{ - @Default('app.bsky.actor.defs#nux') String $type,
- required String id,
- @Default(false) bool completed,
- String? data,
- DateTime? expiresAt,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Nux({
@Default('app.bsky.actor.defs#nux') String $type,
required String id,
@Default(false) bool completed,
/// Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters.
String? data,
/// The date and time at which the NUX will expire and should be considered completed.
DateTime? expiresAt,
Map<String, dynamic>? $unknown,
}) = _Nux;