forked from firka/flutter
f0ccf7a9a36ba5cff376870c0b08b18f34972fad
*desc with value/is_valid checks. (flutter/engine#48194)
Some discussion here: https://discord.com/channels/608014603317936148/1175215129135153202. In short, `*<std::optional>` is [undefined behavior](https://en.cppreference.com/w/cpp/utility/optional/operator*). After talking to @bdero we are considering that this should never happen. I thought of a few different approaches here, none of them are great. However given that this class is used quite minimally, this seems to jive with similar patterns we're using in scene/scene_context. --- Feel free to push back or suggest alternatives, mostly proposing this to get brain juices flowing.
Description
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%