Converts this content to JSON-compatible values.
@override Map<String, Object?> toJson() => {'type': 'text', 'text': text};