$AddressPool.fromJson constructor
$AddressPool.fromJson(
- Map json_
Implementation
$AddressPool.fromJson(core.Map json_)
: this(
addresses: json_.containsKey('addresses')
? (json_['addresses'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
avoidBuggyIps: json_.containsKey('avoidBuggyIps')
? json_['avoidBuggyIps'] as core.bool
: null,
manualAssign: json_.containsKey('manualAssign')
? json_['manualAssign'] as core.bool
: null,
pool: json_.containsKey('pool') ? json_['pool'] as core.String : null,
);