Nux class

A new user experiences (NUX) storage object

https://atprotodart.com/docs/lexicons/app/bsky/actor/defs#nux

Available extensions
Annotations
  • @freezed

Constructors

Nux({@Default(appBskyActorDefsNux) @JsonKey(name: r'$type') String $type, required String id, required bool completed, String? data, DateTime? expiresAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
Nux.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
completed bool
no setterinherited
copyWith → $NuxCopyWith<Nux>
no setterinherited
data String?
Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters.
no setterinherited
expiresAt DateTime?
The date and time at which the NUX will expire and should be considered completed.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited