WorkerConfig.fromJson constructor

WorkerConfig.fromJson(
  1. Map json_
)

Implementation

WorkerConfig.fromJson(core.Map json_)
    : this(
        diskSizeGb: json_.containsKey('diskSizeGb')
            ? json_['diskSizeGb'] as core.String
            : null,
        machineType: json_.containsKey('machineType')
            ? json_['machineType'] as core.String
            : null,
      );