copyWith method

DVWorkflowParameter copyWith({
  1. String? name,
  2. DVWorkflowType? type,
  3. bool? optional,
})

Implementation

DVWorkflowParameter copyWith({String? name, DVWorkflowType? type, bool? optional}) =>
    DVWorkflowParameter(name ?? this.name, type ?? this.type,
        optional: optional ?? this.optional);