Nux constructor

  1. @jsonSerializable
const Nux({
  1. @typeKey @Default(appBskyActorDefsNux) String type,
  2. required String id,
  3. @Default(false) bool completed,
  4. String? data,
  5. DateTime? expiresAt,
})

Implementation

@jsonSerializable
const factory Nux({
  @typeKey @Default(appBskyActorDefsNux) String type,
  required String id,
  @Default(false) bool completed,
  String? data,
  DateTime? expiresAt,
}) = _Nux;