RateLimits.fromJson constructor

RateLimits.fromJson(
  1. Map json_
)

Implementation

RateLimits.fromJson(core.Map json_)
    : this(
        maxBurstSize: json_['maxBurstSize'] as core.int?,
        maxConcurrentDispatches:
            json_['maxConcurrentDispatches'] as core.int?,
        maxDispatchesPerSecond:
            (json_['maxDispatchesPerSecond'] as core.num?)?.toDouble(),
      );