valueName property

String valueName

Gets a non-nullable value representation of the field.

When the field is not a nullable field, this will simply returns the field's name. Otherwise, it will return the field's name followed by !.

Implementation

String get valueName => '$displayName${isNullable ? '!' : ''}';