Id class

Contains classes to support RFC 2971

Constructors

Id({String? name, String? version, String? os, String? osVersion, String? vendor, String? supportUrl, String? address, DateTime? date, String? command, String? arguments, String? environment, Map<String, String> nonStandardFields = const <String, String>{}})
Creates a new ID
const

Properties

address String?
Postal address of contact/vendor
final
arguments String?
Arguments supplied on the command line, if any
final
command String?
Command used to start the program
final
date DateTime?
Date program was released, specified as a date-time in IMAP4rev1
final
environment String?
Description of environment, i.e., UNIX environment variables or Windows registry settings
final
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Checks if this ID is empty ie it contains no values
no setter
name String?
Name of the program
final
nonStandardFields Map<String, String>
Any other, non-standard properties
final
os String?
Name of the operating system
final
osVersion String?
Version of the operating system
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportUrl String?
URL to contact for support
final
vendor String?
Vendor of the client/server
final
version String?
Version number of the program
final

Methods

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.
inherited

Static Methods

fromText(String text) Id?
Creates an ID from the given text