createTernary method

String createTernary(
  1. String ifFalse
)

Implementation

String createTernary(String ifFalse) {
  return "$constFieldName ? '' : ${quoted(ifFalse)}";
}