toAString method

String toAString(
  1. dynamic input
)

convert the input to a string

Implementation

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