copyWith method
Transition
copyWith({
- String? description,
- List<
String> ? from, - String? id,
- String? name,
- Map<
String, dynamic> ? properties, - WorkflowRules? rules,
- TransitionScreenDetails? screen,
- String? to,
- TransitionType? type,
Implementation
Transition copyWith(
{String? description,
List<String>? from,
String? id,
String? name,
Map<String, dynamic>? properties,
WorkflowRules? rules,
TransitionScreenDetails? screen,
String? to,
TransitionType? type}) {
return Transition(
description: description ?? this.description,
from: from ?? this.from,
id: id ?? this.id,
name: name ?? this.name,
properties: properties ?? this.properties,
rules: rules ?? this.rules,
screen: screen ?? this.screen,
to: to ?? this.to,
type: type ?? this.type,
);
}