ifEmpty method

String ifEmpty(
  1. String s
)

Implementation

String ifEmpty(final String s) => this?.isEmpty ?? true ? s : this!;