copyWith method
WorkflowModel
copyWith({
- String? documentID,
- String? name,
- List<
WorkflowTaskModel> ? workflowTask, - String? appId,
override
Implementation
@override
WorkflowModel copyWith({
String? documentID,
String? name,
List<WorkflowTaskModel>? workflowTask,
String? appId,
}) {
return WorkflowModel(
documentID: documentID ?? this.documentID,
name: name ?? this.name,
workflowTask: workflowTask ?? this.workflowTask,
appId: appId ?? this.appId,
);
}