literalValue property

  1. @override
Object? get literalValue
override

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
Object? get literalValue => null;