mapIfEmpty method

String mapIfEmpty(
  1. String str
)

Implementation

String mapIfEmpty(String str)
{
  return isNullOrEmpty ? str : this!;
}