name property
String?
name
Returns the name field from the pubspec.yaml
Implementation
String? get name => pubspec.name;
updates the pubspec.yaml 'name' key. You must call saveToFile.
Implementation
set name(String? name) => pubspec = pubspec.copy(name: name);