NetworkUsage.fromJson constructor
NetworkUsage.fromJson(
- Map json_
Implementation
NetworkUsage.fromJson(core.Map json_)
: this(
network: json_.containsKey('network')
? Network.fromJson(
json_['network'] as core.Map<core.String, core.dynamic>)
: null,
usedIps: json_.containsKey('usedIps')
? (json_['usedIps'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);