String getName(
Symbol symbol
)

Returns the name of symbol.

The following text is non-normative:

Using this method may result in larger output. If possible, use MirrorsUsed to specify which symbols must be retained in clear text.

Source

/**
 * Returns the name of [symbol].
 *
 * The following text is non-normative:
 *
 * Using this method may result in larger output.  If possible, use
 * [MirrorsUsed] to specify which symbols must be retained in clear text.
 */
external static String getName(Symbol symbol);