AccountView constructor
- @JsonSerializable(includeIfNull: false)
const
AccountView(
{ - @Default(comAtprotoAdminDefsAccountView) @JsonKey(name: r'$type') String $type,
- required String did,
- required String handle,
- String? email,
- List<Map<String, dynamic>>? relatedRecords,
- required DateTime indexedAt,
- @InviteCodeConverter() InviteCode? invitedBy,
- @InviteCodeConverter() List<InviteCode>? invites,
- @Default(false) bool invitesDisabled,
- DateTime? emailConfirmedAt,
- String? inviteNote,
- DateTime? deactivatedAt,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory AccountView({
/// The unique namespace for this lex object.
///
/// `com.atproto.admin.defs#accountView`
@Default(comAtprotoAdminDefsAccountView)
@JsonKey(name: r'$type')
String $type,
required String did,
required String handle,
String? email,
List<Map<String, dynamic>>? relatedRecords,
required DateTime indexedAt,
@InviteCodeConverter() InviteCode? invitedBy,
@InviteCodeConverter() List<InviteCode>? invites,
@Default(false) bool invitesDisabled,
DateTime? emailConfirmedAt,
String? inviteNote,
DateTime? deactivatedAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _AccountView;