updateAppId method
Updates the app id in the pubspec.yaml
file.
Generates a new app id and saves it to the pubspec.yaml
file.
Returns the new app id.
Implementation
Future<String> updateAppId() async {
final appId = Uuid().v4();
final pubspec = _pubspecManager.load();
pubspec['inno_build']['app_id'] = appId;
_pubspecManager.save(pubspec);
return appId;
}