toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (componentStepName != null) 'componentStepName': componentStepName!,
      if (executionStepName != null) 'executionStepName': executionStepName!,
      if (inputIndex != null) 'inputIndex': inputIndex!,
      if (name != null) 'name': name!,
      if (origin != null) 'origin': origin!,
      if (originNamespace != null) 'originNamespace': originNamespace!,
      if (originalRequestingStepName != null)
        'originalRequestingStepName': originalRequestingStepName!,
      if (originalStepName != null) 'originalStepName': originalStepName!,
      if (portion != null) 'portion': portion!,
      if (workerId != null) 'workerId': workerId!,
    };