fromJson static method

PassingComponentParameterFromWorkflow fromJson(
  1. Map<String, dynamic> json
)
override

Implementation

static PassingComponentParameterFromWorkflow fromJson(
    Map<String, dynamic> json) {
  return PassingComponentParameterFromWorkflow(
    parameterID: json['id'],
    workflow: json['workflow'] != null
        ? WorkflowEntity.fromJson(json['workflow'], const ActionMapper())
        : WorkflowEntity(
            id: json['id'],
            name: json['name'],
            trigger: null,
            actions: const [],
          ),
  );
}