copyWith method
WorkflowEntity
copyWith({
- String? documentID,
- String? name,
- List<
WorkflowTaskEntity> ? workflowTask, - String? appId,
Implementation
WorkflowEntity copyWith({
String? documentID,
String? name,
List<WorkflowTaskEntity>? workflowTask,
String? appId,
}) {
return WorkflowEntity(
name: name ?? this.name,
workflowTask: workflowTask ?? this.workflowTask,
appId: appId ?? this.appId,
);
}