UserAgent class

Type of MyUser's user agent.

Its values are always considered to be non-empty, and meet the following requirements:

  • consist only from ASCII characters;
  • contain at least one non-space-like character.
Inheritance
Available extensions

Constructors

UserAgent(String val)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
localized String

Available on UserAgent, provided by the UserAgentExtension extension

Returns the human readable name of this UserAgent, if any, or otherwise returns the whole UserAgent.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
val String
Actual value wrapped by this NewType.
finalinherited

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