dart / 1 / dart-mirrors / mirrorsystem / getname.html

getName method

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

external static String getName(Symbol symbol);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-mirrors/MirrorSystem/getName.html