toCustomString method

String toCustomString(
  1. String trueValue,
  2. String falseValue
)

Implementation

String toCustomString(String trueValue, String falseValue) {
  return this ? trueValue : falseValue;
}