nullSuffix property
String
get
nullSuffix
Returns the ? character when the field is a nullable type. Otherwise, returns an empty string
Implementation
String get nullSuffix => isNullable ? '?' : '';
Returns the ? character when the field is a nullable type. Otherwise, returns an empty string
String get nullSuffix => isNullable ? '?' : '';