The protocol's content object.
@override Map<String, Object?> toJson() => <String, Object?>{ 'type': 'text', 'text': text, };