Links constructor
- @JsonSerializable(includeIfNull: false)
const
Links(
{ - @Default(comAtprotoServerDescribeServerLinks) @JsonKey(name: r'$type') String $type,
- String? privacyPolicy,
- String? termsOfService,
- @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;