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, value) => core.MapEntry(
                      key,
                      value as core.String,
                    ),
                  )
                : null,
      );