Account constructor
Implementation
@JsonSerializable(includeIfNull: false)
const factory Account({
/// The unique namespace for this lex object.
///
/// `com.atproto.sync.subscribeRepos#account`
@Default(comAtprotoSyncSubscribeReposAccount)
@JsonKey(name: r'$type')
String $type,
required int seq,
required String did,
required DateTime time,
/// Indicates that the account has a repository which can be fetched
/// from the host that emitted this event.
required bool active,
/// If active=false, this optional field indicates a reason for why
/// the account is not active.
@UAccountStatusConverter() UAccountStatus? status,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Account;