MapTask.fromJson constructor

MapTask.fromJson(
  1. Map json_
)

Implementation

MapTask.fromJson(core.Map json_)
    : this(
        counterPrefix: json_.containsKey('counterPrefix')
            ? json_['counterPrefix'] 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,
      );