WorkflowRulesSearch.fromJson constructor

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

Implementation

factory WorkflowRulesSearch.fromJson(Map<String, Object?> json) {
  return WorkflowRulesSearch(
    expand: json[r'expand'] as String?,
    ruleIds: (json[r'ruleIds'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
    workflowEntityId: json[r'workflowEntityId'] as String? ?? '',
  );
}