copyWith method
CreateWorkflowTransitionDetails
copyWith({
- String? description,
- List<
String> ? from, - String? name,
- Map<
String, dynamic> ? properties, - CreateWorkflowTransitionRulesDetails? rules,
- CreateWorkflowTransitionScreenDetails? screen,
- String? to,
- CreateWorkflowTransitionDetailsType? type,
Implementation
CreateWorkflowTransitionDetails copyWith(
{String? description,
List<String>? from,
String? name,
Map<String, dynamic>? properties,
CreateWorkflowTransitionRulesDetails? rules,
CreateWorkflowTransitionScreenDetails? screen,
String? to,
CreateWorkflowTransitionDetailsType? type}) {
return CreateWorkflowTransitionDetails(
description: description ?? this.description,
from: from ?? this.from,
name: name ?? this.name,
properties: properties ?? this.properties,
rules: rules ?? this.rules,
screen: screen ?? this.screen,
to: to ?? this.to,
type: type ?? this.type,
);
}