ResourceLimit.fromJson constructor

ResourceLimit.fromJson(
  1. Map json_
)

Implementation

ResourceLimit.fromJson(core.Map json_)
    : this(
        maximum: json_.containsKey('maximum')
            ? json_['maximum'] as core.String
            : null,
        minimum: json_.containsKey('minimum')
            ? json_['minimum'] as core.String
            : null,
        resourceType: json_.containsKey('resourceType')
            ? json_['resourceType'] as core.String
            : null,
      );