PostInteractionSettingsPref constructor

  1. @JsonSerializable(includeIfNull: false)
const PostInteractionSettingsPref({
  1. @Default('app.bsky.actor.defs#postInteractionSettingsPref') String $type,
  2. @UPostInteractionSettingsPrefThreadgateAllowRulesConverter() List<UPostInteractionSettingsPrefThreadgateAllowRules>? threadgateAllowRules,
  3. @UPostInteractionSettingsPrefPostgateEmbeddingRulesConverter() List<UPostInteractionSettingsPrefPostgateEmbeddingRules>? postgateEmbeddingRules,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory PostInteractionSettingsPref({
  @Default('app.bsky.actor.defs#postInteractionSettingsPref') String $type,
  @UPostInteractionSettingsPrefThreadgateAllowRulesConverter()
  List<UPostInteractionSettingsPrefThreadgateAllowRules>?
  threadgateAllowRules,
  @UPostInteractionSettingsPrefPostgateEmbeddingRulesConverter()
  List<UPostInteractionSettingsPrefPostgateEmbeddingRules>?
  postgateEmbeddingRules,

  Map<String, dynamic>? $unknown,
}) = _PostInteractionSettingsPref;