PingResponse class
Representa la respuesta de un comando ping con métricas clave y estados de error
Ejemplo de uso:
final response = PingResponse(
bytes: '64',
time: '45ms',
ipHost: '192.168.1.1',
conexion: true
);
Constructors
Properties
- bytes ↔ String
-
Número de bytes recibidos en la respuesta
getter/setter pair
- conexion ↔ bool
-
getter/setter pair
- error ↔ bool
-
getter/setter pair
- errorGeneral ↔ bool
-
Banderas de estado de error:
getter/setter pair
- errorRed ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ipHost ↔ String
-
Dirección IP o nombre del host de destino
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time ↔ String
-
Tiempo de respuesta en formato legible (ej: '45ms')
getter/setter pair
- timeOut ↔ bool
-
getter/setter pair
- ttl ↔ String
-
Valor TTL (Time To Live) de la respuesta
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited