PrivatePoolV1Config.fromJson constructor

PrivatePoolV1Config.fromJson(
  1. Map json_
)

Implementation

PrivatePoolV1Config.fromJson(core.Map json_)
    : this(
        networkConfig: json_.containsKey('networkConfig')
            ? NetworkConfig.fromJson(
                json_['networkConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        workerConfig: json_.containsKey('workerConfig')
            ? WorkerConfig.fromJson(
                json_['workerConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );