addAS method
Adds an AS to the path
Implementation
BGPPathAttributes addAS(int asNumber) {
final newPath = List<int>.from(asPath)..add(asNumber);
return copyWith(asPath: newPath, asPathLength: newPath.length);
}
Adds an AS to the path
BGPPathAttributes addAS(int asNumber) {
final newPath = List<int>.from(asPath)..add(asNumber);
return copyWith(asPath: newPath, asPathLength: newPath.length);
}