WorkflowTrigger.fromJson constructor

WorkflowTrigger.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory WorkflowTrigger.fromJson(Map<String, Object?> json) {
  return WorkflowTrigger(
    id: json[r'id'] as String?,
    parameters: json[r'parameters'] as Map<String, Object?>? ?? {},
    ruleKey: json[r'ruleKey'] as String? ?? '',
  );
}