ProfileAssociatedChat constructor

  1. @JsonSerializable(includeIfNull: false)
const ProfileAssociatedChat({
  1. @Default(appBskyActorDefsProfileAssociatedChat) @JsonKey(name: r'$type') String $type,
  2. @UProfileAssociatedChatAllowIncomingConverter() required UProfileAssociatedChatAllowIncoming allowIncoming,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ProfileAssociatedChat({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.actor.defs#profileAssociatedChat`
  @Default(appBskyActorDefsProfileAssociatedChat)
  @JsonKey(name: r'$type')
  String $type,
  @UProfileAssociatedChatAllowIncomingConverter()
  required UProfileAssociatedChatAllowIncoming allowIncoming,

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