AgentPool.fromJson constructor

AgentPool.fromJson(
  1. Map json_
)

Implementation

AgentPool.fromJson(core.Map json_)
    : this(
        bandwidthLimit: json_.containsKey('bandwidthLimit')
            ? BandwidthLimit.fromJson(json_['bandwidthLimit']
                as core.Map<core.String, core.dynamic>)
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );