copyWith method

HookContext copyWith({
  1. String? platform,
  2. String? buildType,
  3. String? artifact,
})

Implementation

HookContext copyWith(
        {String? platform, String? buildType, String? artifact}) =>
    HookContext(
      command: command,
      projectDir: projectDir,
      client: client,
      envFile: envFile,
      isTest: isTest,
      platform: platform ?? this.platform,
      buildType: buildType ?? this.buildType,
      version: version,
      bundleId: bundleId,
      appName: appName,
      artifact: artifact ?? this.artifact,
      secretsFile: secretsFile,
    );