InviteCodeUse constructor
- @JsonSerializable(includeIfNull: false)
const
InviteCodeUse(
{ - @Default(comAtprotoServerDefsInviteCodeUse) @JsonKey(name: r'$type') String $type,
- required String usedBy,
- required DateTime usedAt,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory InviteCodeUse({
/// The unique namespace for this lex object.
///
/// `com.atproto.server.defs#inviteCodeUse`
@Default(comAtprotoServerDefsInviteCodeUse)
@JsonKey(name: r'$type')
String $type,
required String usedBy,
required DateTime usedAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _InviteCodeUse;