copyWith method

WorkflowTrigger copyWith({
  1. String? id,
  2. Map<String, dynamic>? parameters,
  3. String? ruleKey,
})

Implementation

WorkflowTrigger copyWith(
    {String? id, Map<String, dynamic>? parameters, String? ruleKey}) {
  return WorkflowTrigger(
    id: id ?? this.id,
    parameters: parameters ?? this.parameters,
    ruleKey: ruleKey ?? this.ruleKey,
  );
}