copyWith method

FunctionStepCall copyWith({
  1. String? id,
  2. String? name,
  3. String? arguments,
  4. Object? output = unsetCopyWithValue,
})

Creates a copy with the given fields replaced.

Implementation

FunctionStepCall copyWith({
  String? id,
  String? name,
  String? arguments,
  Object? output = unsetCopyWithValue,
}) {
  return FunctionStepCall(
    id: id ?? this.id,
    name: name ?? this.name,
    arguments: arguments ?? this.arguments,
    output: output == unsetCopyWithValue ? this.output : output as String?,
  );
}