toStrN static method
Converts a dynamic value to a nullable String.
d
- The dynamic value to be converted.
Returns a String if the conversion is successful, otherwise null.
Implementation
static String? toStrN(dynamic d) {
return d != null ? d.toString() : null;
}