ServerGetAccountInviteCodesInput constructor

  1. @JsonSerializable(includeIfNull: false)
const ServerGetAccountInviteCodesInput({
  1. @Default(true) bool includeUsed,
  2. @Default(true) bool createAvailable,
  3. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ServerGetAccountInviteCodesInput({
  @Default(true) bool includeUsed,

  /// Controls whether any new 'earned' but not 'created' invites should be created.
  @Default(true) bool createAvailable,

  Map<String, dynamic>? $unknown,
}) = _ServerGetAccountInviteCodesInput;