BrowserPlatform class abstract final

Information about the current browser.

Only available while running in a browser.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAgent String
The browser's user-agent string, as reported by Navigator.userAgent.
no setter
version String
The browser's version, as reported by Navigator.appVersion by default.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
A JSON representation of the state of this browser platform object.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

current BrowserPlatform?
The current Browser platform, if any.
no setter