fromJson static method

  1. @visibleForTesting
WorkflowResult? fromJson(
  1. dynamic json
)

Implementation

@visibleForTesting
static WorkflowResult? fromJson(dynamic json) {
  if (json == null) return null;

  var result = WorkflowResult._(json["sessionId"], WorkflowStep.fromJson(json["finalStep"])!);

  return result;
}