PolicyControllerResourceRequirements.fromJson constructor

PolicyControllerResourceRequirements.fromJson(
  1. Map json_
)

Implementation

PolicyControllerResourceRequirements.fromJson(core.Map json_)
    : this(
        limits: json_.containsKey('limits')
            ? PolicyControllerResourceList.fromJson(
                json_['limits'] as core.Map<core.String, core.dynamic>)
            : null,
        requests: json_.containsKey('requests')
            ? PolicyControllerResourceList.fromJson(
                json_['requests'] as core.Map<core.String, core.dynamic>)
            : null,
      );