SchedulerResource.fromJson constructor

SchedulerResource.fromJson(
  1. Map json_
)

Implementation

SchedulerResource.fromJson(core.Map json_)
    : this(
        count: json_['count'] as core.int?,
        cpu: (json_['cpu'] as core.num?)?.toDouble(),
        memoryGb: (json_['memoryGb'] as core.num?)?.toDouble(),
        storageGb: (json_['storageGb'] as core.num?)?.toDouble(),
      );