toStr static method
toString() but safe to use on null
Implementation
static String? toStr(dynamic s)
{
try
{
if (s == null) return null;
return s.toString();
}
catch(e)
{
return null;
}
}
toString() but safe to use on null
static String? toStr(dynamic s)
{
try
{
if (s == null) return null;
return s.toString();
}
catch(e)
{
return null;
}
}