Whois class

What a WHOIS said about someone. A reply is nine numerics that arrive one at a time, so they are collected here and reported once, when the closing 318 lands. A host that reacted to each numeric would redraw a profile card nine times and show eight incomplete ones.

Constructors

Whois({required String nick, required String? username, required String? host, required String? realname, required String? server, required String? server_info, required String? operator, required int? idle_secs, required int? signon_ms, required List<String> channels, required String? account, required String? actual_host, required bool secure, required bool complete})
const
Whois.fromJson(Map<String, dynamic> json)
factory

Properties

account String?
The account they are logged in as, from 330.
final
actual_host String?
Where they are connecting from, as the server words it, from 338 or 378.
final
channels List<String>
The channels they are in, keeping the prefix each one carries, from 319.
final
complete bool
True once the closing 318 arrived and there is nothing more to come.
final
hashCode int
The hash code for this object.
no setterinherited
host String?
Their host, from 311.
final
idle_secs int?
How long they have been idle, from 317.
final
nick String
Their nick, as the server spells it.
final
operator String?
How the server describes their operator privileges, from 313, when they have any.
final
realname String?
Their realname, from 311.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
True when the server said the connection is over TLS, from 671.
final
server String?
The server they are on, from 312.
final
server_info String?
What that server calls itself, from 312.
final
signon_ms int?
When they connected, in milliseconds since the Unix epoch, from 317.
final
username String?
Their username, from 311.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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