Links constructor

  1. @JsonSerializable(includeIfNull: false)
const Links({
  1. @Default(appBskyFeedDescribeFeedGeneratorLinks) @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.
  ///
  /// `app.bsky.feed.describeFeedGenerator#links`
  @Default(appBskyFeedDescribeFeedGeneratorLinks)
  @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;