AppPassword constructor
- @JsonSerializable(includeIfNull: false)
const
AppPassword(
{ - @Default(comAtprotoServerCreateAppPasswordAppPassword) @JsonKey(name: r'$type') String $type,
- required String name,
- required String password,
- required DateTime createdAt,
- @Default(false) bool privileged,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory AppPassword({
/// The unique namespace for this lex object.
///
/// `com.atproto.server.createAppPassword#appPassword`
@Default(comAtprotoServerCreateAppPasswordAppPassword)
@JsonKey(name: r'$type')
String $type,
required String name,
required String password,
required DateTime createdAt,
@Default(false) bool privileged,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _AppPassword;