ToString constructor

ToString(
  1. dynamic expr
)

Creates $toString operator expression

Converts a value to a string. If the value cannot be converted to a string, $toString errors. If the value is null or missing, $toString returns null.

The $toString takes any valid expression.

Implementation

ToString(expr) : super('toString', expr);