ChangeBundleId constructor

ChangeBundleId([
  1. String? bundleId,
  2. String? path
])

Implementation

ChangeBundleId([this.bundleId, this.path]) {
  if (Platform.isMacOS || Platform.isLinux) {
    androidAppBuildGradlePath = '${path ?? ''}android/app/build.gradle';
    iosProjectPbxprojPath = '${path ?? ''}ios/Runner.xcodeproj/project.pbxproj';
  } else {
    androidAppBuildGradlePath = '${path ?? '.'}\\android\\app\\build.gradle';
    iosProjectPbxprojPath = '${path ?? '.'}\\ios\\Runner.xcodeproj\\project.pbxproj';
  }
}