Name class

An unique symbolic name.

This provides essentially the behavior of the built-in Symbol, but allows access and printing of the underlying string.

Constructors

Name(String name)
Factory for new symbol cells.
factory
Name.uninterned(String name)
Factory for new, uninterned symbol cells.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns the string representation of the symbolic name.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

isInterned(String name) bool
Determine whether a symbol is interned.