StreamingComputationConfig.fromJson constructor

StreamingComputationConfig.fromJson(
  1. Map _json
)

Implementation

StreamingComputationConfig.fromJson(core.Map _json)
    : this(
        computationId: _json.containsKey('computationId')
            ? _json['computationId'] as core.String
            : null,
        instructions: _json.containsKey('instructions')
            ? (_json['instructions'] as core.List)
                .map((value) => ParallelInstruction.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        stageName: _json.containsKey('stageName')
            ? _json['stageName'] as core.String
            : null,
        systemName: _json.containsKey('systemName')
            ? _json['systemName'] as core.String
            : null,
        transformUserNameToStateFamily:
            _json.containsKey('transformUserNameToStateFamily')
                ? (_json['transformUserNameToStateFamily']
                        as core.Map<core.String, core.dynamic>)
                    .map(
                    (key, item) => core.MapEntry(
                      key,
                      item as core.String,
                    ),
                  )
                : null,
      );