getId method

String getId()

Gets the unique ID for the instance of this component. If the instance doesn't already have an ID, generates one on the fly. @return {string} Unique component ID.

Implementation

String getId()
{
  if (_uniqueObjId == null) {
    _uniqueObjId = ( _globalSequence_++ ).toRadixString(36);
  }
  return _uniqueObjId!;
}