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

getName method

String getName(
  1. 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.

Implementation

external static String getName(Symbol symbol);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-mirrors/MirrorSystem/getName.html