menu
protoc_plugin package
documentation
protoc.dart
ConditionalConstDefinition
createTernary method
createTernary method
dark_mode
light_mode
createTernary
method
String
createTernary
(
String
ifFalse
)
Implementation
String createTernary(String ifFalse) { return "$constFieldName ? '' : ${quoted(ifFalse)}"; }
protoc_plugin package
documentation
protoc
ConditionalConstDefinition
createTernary method
ConditionalConstDefinition class