ExecutionSpec.fromJson constructor

ExecutionSpec.fromJson(
  1. Map json_
)

Implementation

ExecutionSpec.fromJson(core.Map json_)
    : this(
        parallelism: json_.containsKey('parallelism')
            ? json_['parallelism'] as core.int
            : null,
        taskCount: json_.containsKey('taskCount')
            ? json_['taskCount'] as core.int
            : null,
        template: json_.containsKey('template')
            ? TaskTemplateSpec.fromJson(
                json_['template'] as core.Map<core.String, core.dynamic>)
            : null,
      );