AvailableWorkflowSystemRule.fromJson constructor
Implementation
factory AvailableWorkflowSystemRule.fromJson(Map<String, Object?> json) {
return AvailableWorkflowSystemRule(
description: json[r'description'] as String? ?? '',
incompatibleRuleKeys: (json[r'incompatibleRuleKeys'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
isAvailableForInitialTransition:
json[r'isAvailableForInitialTransition'] as bool? ?? false,
isVisible: json[r'isVisible'] as bool? ?? false,
name: json[r'name'] as String? ?? '',
ruleKey: json[r'ruleKey'] as String? ?? '',
ruleType: AvailableWorkflowSystemRuleRuleType.fromValue(
json[r'ruleType'] as String? ?? ''),
);
}