name property
String
name
Name of the module for identification in exceptions and debug messages.
Implementation
// ignore: unnecessary_getters_setters
String get name => _defaultName;
Deprecated: the module name should be defined by overriding the getter in a subclass and it should not be mutable.
Implementation
@deprecated
// ignore: unnecessary_getters_setters
set name(String? newName) {
if (newName != null) {
_defaultName = newName;
}
}