toEmpty static method

String toEmpty(
  1. String? string
)

If string is null we return a zero length string otherwise we return string.

Implementation

static String toEmpty(String? string) => Empty.toEmpty(string);