RouteEntry<T> class

Represents a routing table entry with destination and routing information

Constructors

RouteEntry({required T destination, T? nextHop, required int cost, required DateTime lastUpdate, required bool isDirectlyConnected})
const

Properties

cost int
final
destination → T
final
hashCode int
The hash code for this object.
no setteroverride
isDirectlyConnected bool
final
lastUpdate DateTime
final
nextHop → T?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({T? destination, T? nextHop, int? cost, DateTime? lastUpdate, bool? isDirectlyConnected}) RouteEntry<T>
Creates a copy with updated values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override