name property
String
get
name
The name of this package on the package repository.
If this hosted block has a declaredName, that one will be used. Otherwise, the name will be inferred from the surrounding package name.
Implementation
String get name => declaredName ?? _nameOfPackage!;