PlatformUserAgents enum

PlatformUserAgents Enumeration Documentation:

The PlatformUserAgents enum represents user agent strings associated with specific platforms.

Overview:

  • This enumeration is used to identify user agent strings that are commonly associated with specific platforms.
  • Each value of the enum represents a specific user agent string.

Values:

  • ipad : Represents the user agent string associated with the iPad.
  • iphone : Represents the user agent string associated with the iPhone.
  • android : Represents the user agent string associated with Android devices.
  • macintosh : Represents the user agent string associated with macOS devices.
  • windows : Represents the user agent string associated with Windows devices.
  • linux : Represents the user agent string associated with Linux devices.

This enumeration simplifies the identification of user agent strings, aiding in platform-specific logic and behavior.

Inheritance
Available extensions

Values

ipad → const PlatformUserAgents
iphone → const PlatformUserAgents
android → const PlatformUserAgents
macintosh → const PlatformUserAgents
windows → const PlatformUserAgents
linux → const PlatformUserAgents

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<PlatformUserAgents>
A constant List of the values in this enum, in order of their declaration.