RouterAdvertisedIpRange.fromJson constructor
RouterAdvertisedIpRange.fromJson(
- Object? j
Implementation
factory RouterAdvertisedIpRange.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return RouterAdvertisedIpRange(
description: switch (json['description']) {
null => null,
Object $1 => decodeString($1),
},
range: switch (json['range']) {
null => null,
Object $1 => decodeString($1),
},
);
}