CounterStructuredName.fromJson constructor

CounterStructuredName.fromJson(
  1. Map _json
)

Implementation

CounterStructuredName.fromJson(core.Map _json)
    : this(
        componentStepName: _json.containsKey('componentStepName')
            ? _json['componentStepName'] as core.String
            : null,
        executionStepName: _json.containsKey('executionStepName')
            ? _json['executionStepName'] as core.String
            : null,
        inputIndex: _json.containsKey('inputIndex')
            ? _json['inputIndex'] as core.int
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        origin: _json.containsKey('origin')
            ? _json['origin'] as core.String
            : null,
        originNamespace: _json.containsKey('originNamespace')
            ? _json['originNamespace'] as core.String
            : null,
        originalRequestingStepName:
            _json.containsKey('originalRequestingStepName')
                ? _json['originalRequestingStepName'] as core.String
                : null,
        originalStepName: _json.containsKey('originalStepName')
            ? _json['originalStepName'] as core.String
            : null,
        portion: _json.containsKey('portion')
            ? _json['portion'] as core.String
            : null,
        workerId: _json.containsKey('workerId')
            ? _json['workerId'] as core.String
            : null,
      );