OsInfo class
Helper class containing information about the OS that the app is currently running on
- Annotations
Properties
- androidSdk → int
-
The android sdk version int (if the app is running native). Eg: 21
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosVersion → double
-
The ios major and minor version (if the app is running native). Eg: 14.4
final
- isAndroid → bool
-
Returns true if the app is running natively on android
no setter
- isAtLeastAndroid10 → bool
-
Returns true if the app is running natively on android 10 and higher
no setter
- isAtLeastPie → bool
-
Returns true if the app is running natively on android P and higher
no setter
- isIOS → bool
-
Returns true if the app is running natively on ios
no setter
- isIOS13OrAbove → bool
-
Returns true if the app is running natively on at least ios 13
no setter
- isWeb → bool
-
Indicates that this is a non-native application
final
- 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