W3cubDocs

/Dart 2

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.

Implementation

external static String getName(Symbol symbol);

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