Capacity.fromJson constructor

Capacity.fromJson(
  1. Map json_
)

Implementation

Capacity.fromJson(core.Map json_)
    : this(
        publishMibPerSec: json_.containsKey('publishMibPerSec')
            ? json_['publishMibPerSec'] as core.int
            : null,
        subscribeMibPerSec: json_.containsKey('subscribeMibPerSec')
            ? json_['subscribeMibPerSec'] as core.int
            : null,
      );