DescribeServerOutput constructor
- @JsonSerializable(includeIfNull: false)
const
DescribeServerOutput(
{ - @Default(false) bool inviteCodeRequired,
- @Default(false) bool phoneVerificationRequired,
- required List<String> availableUserDomains,
- @LinksConverter() @Default(Links()) Links links,
- @ContactConverter() @Default(Contact()) Contact contact,
- required String did,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory DescribeServerOutput({
/// If true, an invite code must be supplied to create an account on
/// this instance.
@Default(false) bool inviteCodeRequired,
/// If true, a phone verification token must be supplied to create an
/// account on this instance.
@Default(false) bool phoneVerificationRequired,
/// List of domain suffixes that can be used in account handles.
required List<String> availableUserDomains,
/// URLs of service policy documents.
@LinksConverter() @Default(Links()) Links links,
/// Contact information
@ContactConverter() @Default(Contact()) Contact contact,
required String did,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _DescribeServerOutput;