ifEmpty method

String ifEmpty(
  1. String fn()
)

Implementation

String ifEmpty(String Function() fn) => isEmpty ? fn() : this;