copyWith method
Copies the report entry with the given values.
Implementation
TestReportStep copyWith({
DateTime? endTime,
String? error,
Map<String, dynamic>? step,
DateTime? startTime,
bool? subStep,
}) =>
TestReportStep(
endTime: endTime ?? this.endTime,
error: error ?? this.error,
id: id,
startTime: startTime ?? this.startTime,
step: step ?? this.step,
subStep: subStep ?? this.subStep,
);