RichContentResponse constructor

const RichContentResponse({
  1. required List<RichComponent> components,
  2. @JsonKey.new(name: 'fallback_text') String? fallbackText,
})

Implementation

const factory RichContentResponse({
  /// List of components to render
  required List<RichComponent> components,

  /// Fallback text for accessibility or error states
  @JsonKey(name: 'fallback_text') String? fallbackText,
}) = _RichContentResponse;