@override Map<String, dynamic> toJson() => { 'type': 'text', 'text': _text ?? '', if (cacheControl != null) 'cache_control': cacheControl!.toJson(), };