ResourceRequests.fromJson constructor

ResourceRequests.fromJson(
  1. Map json_
)

Implementation

ResourceRequests.fromJson(core.Map json_)
    : this(
        cpu: json_.containsKey('cpu') ? json_['cpu'] as core.String : null,
        memory: json_.containsKey('memory')
            ? json_['memory'] as core.String
            : null,
      );