DriverSchedulingConfig.fromJson constructor

DriverSchedulingConfig.fromJson(
  1. Map json_
)

Implementation

DriverSchedulingConfig.fromJson(core.Map json_)
    : this(
        memoryMb: json_.containsKey('memoryMb')
            ? json_['memoryMb'] as core.int
            : null,
        vcores:
            json_.containsKey('vcores') ? json_['vcores'] as core.int : null,
      );