PlatformInfo class

A controller class to implement platform related labeling such as the device's operation system and its trademark notices.

Note that Apple Inc. requires to use the label 'iPhone' for their iOS based smartphones. Therefore 'iOS' cannot be used as the platform label.

Constructors

PlatformInfo()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

legalNotice String
Return the platform's or device's trademark notice.
no setter
platformLabel String
Return the device's platform or device label.
no setter