fromJson static method

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

Implementation

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

  var result = StartWorkflowConfig(
    locale: json["locale"],
    metadata: json["metadata"],
  );

  return result;
}