StatusAttr constructor
- @JsonSerializable(includeIfNull: false)
const
StatusAttr(
{ - @Default(comAtprotoAdminDefsStatusAttr) @JsonKey(name: r'$type') String $type,
- required bool applied,
- String? ref,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory StatusAttr({
/// The unique namespace for this lex object.
///
/// `com.atproto.admin.defs#statusAttr`
@Default(comAtprotoAdminDefsStatusAttr)
@JsonKey(name: r'$type')
String $type,
required bool applied,
String? ref,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _StatusAttr;