literalValue property
The literal Dart value represented by this constant.
This provides access to the underlying Dart value when possible. For complex types like objects, this may return null.
Implementation
@override
Set<dynamic> get literalValue => value.map((Constant e) => e.literalValue).toSet();