ifEmpty method

String ifEmpty(
  1. Function action
)

Implementation

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