appendNotEmpty method

String appendNotEmpty(
  1. String value
)

Appends value only if this string is not empty.

Implementation

String appendNotEmpty(String value) => isEmpty ? '' : this + value;