Contact constructor
- @JsonSerializable(includeIfNull: false)
const
Contact(
{ - @Default(comAtprotoServerDescribeServerContact) @JsonKey(name: r'$type') String $type,
- String? email,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Contact({
/// The unique namespace for this lex object.
///
/// `com.atproto.server.describeServer#contact`
@Default(comAtprotoServerDescribeServerContact)
@JsonKey(name: r'$type')
String $type,
String? email,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Contact;