SystemMessageView constructor

  1. @JsonSerializable.new(includeIfNull: false)
const SystemMessageView({
  1. @Default.new('chat.bsky.convo.defs#systemMessageView') String $type,
  2. required String id,
  3. required String rev,
  4. required DateTime sentAt,
  5. @USystemMessageViewDataConverter() required USystemMessageViewData data,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SystemMessageView({
  @Default('chat.bsky.convo.defs#systemMessageView') String $type,
  required String id,
  required String rev,
  required DateTime sentAt,
  @USystemMessageViewDataConverter() required USystemMessageViewData data,

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