setBundleId method

Future<String?> setBundleId({
  1. required String bundleId,
})

Changes the Bundle ID of the application to the provided bundleId. Parameters:

  • bundleId: The new Bundle ID to be set for the application. Returns: Future<String?>, a success message indicating the change in Bundle ID.

Implementation

Future<String?> setBundleId({required String bundleId}) async {
  var old = await getBundleId();
  return 'rename has successfuly changed bundleId for ${platform.name.toUpperCase()}\n$old -> $bundleId';
}