TO_STRING function

String TO_STRING(
  1. dynamic value
)

Implementation

String TO_STRING(dynamic value) {
  if (value is double) return value.toString();
  if (value is int) return value.toString();
  if (value == 'null') return '';
  if (value == null) return '';
  return '';
}