fromJson static method

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

Implementation

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

  var result = StartSessionConfig(
    json["workflowId"],
    metadata: json["metadata"],
  );

  return result;
}