FollowingRule constructor

  1. @JsonSerializable(includeIfNull: false)
const FollowingRule({
  1. @Default(appBskyFeedThreadgateFollowingRule) @JsonKey(name: r'$type') String $type,
  2. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FollowingRule({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.feed.threadgate#followingRule`
  @Default(appBskyFeedThreadgateFollowingRule)
  @JsonKey(name: r'$type')
  String $type,

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