componentName property

String get componentName

Returns the component name.

❗️ Use after the component is loaded.

Implementation

String get componentName {
  if (_componentName == null) {
    throw Exception(
        'Component name is null. Use after the component is loaded correctly.');
  }
  return _componentName!;
}