ConnectWorkflowTransitionRule.fromJson constructor
Implementation
factory ConnectWorkflowTransitionRule.fromJson(Map<String, Object?> json) {
return ConnectWorkflowTransitionRule(
configuration: RuleConfiguration.fromJson(
json[r'configuration'] as Map<String, Object?>? ?? const {}),
id: json[r'id'] as String? ?? '',
key: json[r'key'] as String? ?? '',
transition: json[r'transition'] != null
? WorkflowTransition.fromJson(
json[r'transition']! as Map<String, Object?>)
: null,
);
}