Contact constructor

  1. @JsonSerializable(includeIfNull: false)
const Contact({
  1. @Default(comAtprotoServerDescribeServerContact) @JsonKey(name: r'$type') String $type,
  2. String? email,
  3. @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;