WorkflowSchemeAssociations.fromJson constructor

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

Implementation

factory WorkflowSchemeAssociations.fromJson(Map<String, Object?> json) {
  return WorkflowSchemeAssociations(
    projectIds: (json[r'projectIds'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
    workflowScheme: WorkflowScheme.fromJson(
        json[r'workflowScheme'] as Map<String, Object?>? ?? const {}),
  );
}