Trim a string/null value
@param value @return
static String? trimValue(String? value) { if (value != null) { return value.trim(); } return null; }