AvailableWorkflowTriggers.fromJson constructor
Implementation
factory AvailableWorkflowTriggers.fromJson(Map<String, Object?> json) {
return AvailableWorkflowTriggers(
availableTypes: (json[r'availableTypes'] as List<Object?>?)
?.map((i) => AvailableWorkflowTriggerTypes.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
ruleKey: json[r'ruleKey'] as String? ?? '',
);
}