AvailableWorkflowConnectRule.fromJson constructor
Implementation
factory AvailableWorkflowConnectRule.fromJson(Map<String, Object?> json) {
return AvailableWorkflowConnectRule(
addonKey: json[r'addonKey'] as String?,
createUrl: json[r'createUrl'] as String?,
description: json[r'description'] as String?,
editUrl: json[r'editUrl'] as String?,
moduleKey: json[r'moduleKey'] as String?,
name: json[r'name'] as String?,
ruleKey: json[r'ruleKey'] as String?,
ruleType: json[r'ruleType'] != null
? AvailableWorkflowConnectRuleRuleType.fromValue(
json[r'ruleType']! as String)
: null,
viewUrl: json[r'viewUrl'] as String?,
);
}