$ResourceLimits.fromJson constructor

$ResourceLimits.fromJson(
  1. Map json_
)

Implementation

$ResourceLimits.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,
      );