toString2 static method
Converts value into string or returns '' when value is null.
value
the value to convert. Returns string value or '' when value is null.
Implementation
static String toString2(value) {
return StringConverter.toStringWithDefault(value, '');
}