SchedulingConfig.fromJson constructor

SchedulingConfig.fromJson(
  1. Map _json
)

Implementation

SchedulingConfig.fromJson(core.Map _json)
    : this(
        preemptible: _json.containsKey('preemptible')
            ? _json['preemptible'] as core.bool
            : null,
        reserved: _json.containsKey('reserved')
            ? _json['reserved'] as core.bool
            : null,
      );