copyWith method
Copies this test with the given values.
Implementation
Test copyWith({
bool? active,
String? name,
int? pinnedStepIndex,
List<TestStep>? steps,
String? suiteName,
DateTime? timestamp,
int? version,
}) =>
Test(
active: active ?? this.active,
name: name ?? this.name,
pinnedStepIndex: pinnedStepIndex ?? this.pinnedStepIndex,
steps: steps ?? this.steps,
suiteName: suiteName ?? this.suiteName,
timestamp: timestamp ?? this.timestamp,
version: version ?? this.version,
);