literalValue property
Object?
literalValue
Constant as a literal value.
Throws FormatException if a valid literal value cannot be returned. This
is the case if the constant is not a literal or if the literal value
is represented at least partially with DartObject
instances.
Implementation
Object? get literalValue => null;