Links constructor

  1. @JsonSerializable(includeIfNull: false)
const Links({
  1. @Default(comAtprotoServerDescribeServerLinks) @JsonKey(name: r'$type') String $type,
  2. String? privacyPolicy,
  3. String? termsOfService,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory Links({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.server.describeServer#links`
  @Default(comAtprotoServerDescribeServerLinks)
  @JsonKey(name: r'$type')
  String $type,
  String? privacyPolicy,
  String? termsOfService,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Links;