literalValue property

Object? get literalValue

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

Object? get literalValue;