toString function

String toString (
  1. dynamic input
)

convert the input to a string

Implementation

String toString(input) {
  if (input == null || (input is List && input.length == 0)) {
    input = '';
  }
  return input.toString();
}