MessageViewSender constructor

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

Implementation

@JsonSerializable(includeIfNull: false)
const factory MessageViewSender({
  /// The unique namespace for this lex object.
  ///
  /// `chat.bsky.convo.defs#messageViewSender`
  @Default(chatBskyConvoDefsMessageViewSender)
  @JsonKey(name: r'$type')
  String $type,
  required String did,

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