AvailableWorkflowForgeRule.fromJson constructor

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

Implementation

factory AvailableWorkflowForgeRule.fromJson(Map<String, Object?> json) {
  return AvailableWorkflowForgeRule(
    description: json[r'description'] as String?,
    id: json[r'id'] as String?,
    name: json[r'name'] as String?,
    ruleKey: json[r'ruleKey'] as String?,
    ruleType: json[r'ruleType'] != null
        ? AvailableWorkflowForgeRuleRuleType.fromValue(
            json[r'ruleType']! as String)
        : null,
  );
}