definitionName property Null safety

String definitionName

The definition name of this Module used when instantiating instances in generated code.

By default, if none is provided at construction time, the definition name is the same as the runtimeType.

This could become uniquified by a Synthesizer unless reserveDefinitionName is set.

Implementation

String get definitionName =>
    Sanitizer.sanitizeSV(_definitionName ?? runtimeType.toString());