copyWith method

FlutterBuild copyWith({
  1. String? appName,
  2. String? appVersion,
  3. Version? buildVersion,
  4. List<String>? buildArgs,
  5. String? mainPath,
  6. String? flavor,
  7. String? releaseFolder,
  8. bool? installDeps,
  9. String? flutterSdkPath,
})

Implementation

FlutterBuild copyWith({
  String? appName,
  String? appVersion,
  Version? buildVersion,
  List<String>? buildArgs,
  String? mainPath,
  String? flavor,
  String? releaseFolder,
  bool? installDeps,
  String? flutterSdkPath,
}) {
  return FlutterBuild._(
    appName: appName ?? this.appName,
    appVersion: appVersion ?? this.appVersion,
    buildVersion: buildVersion ?? this.buildVersion,
    buildArgs: buildArgs ?? this.buildArgs,
    mainPath: mainPath ?? this.mainPath,
    flavor: flavor ?? this.flavor,
    releaseFolder: releaseFolder ?? this.releaseFolder,
    installDeps: installDeps ?? this.installDeps,
    flutterSdkPath: flutterSdkPath ?? this.flutterSdkPath,
  );
}