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