nns static method

String nns([
  1. dynamic v
])

Converts the given value to a non-null string.

  • If the given value is not null, toString is called.
  • If null, an empty string is returned.

Implementation

static String nns([v]) => v != null ? v.toString(): "";