HcMockUpgradeOS class
A class to mock HcUpgradeOS for testing.
- Inheritance
-
- Object
- HcUpgradeOS
- HcMockUpgradeOS
Constructors
Properties
- android → bool
-
final
- current → String
-
no setterinherited
- fuchsia → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ios → bool
-
final
- isAndroid → bool
-
Whether the operating system is a version of Android.
no setteroverride
- isFuchsia → bool
-
Whether the operating system is a version of Fuchsia.
no setteroverride
- isIOS → bool
-
Whether the operating system is a version of iOS.
no setteroverride
- isLinux → bool
-
Whether the operating system is a version of Linux.
no setteroverride
- isMacOS → bool
-
Whether the operating system is a version of macOS.
no setteroverride
- isWeb → bool
-
Whether the application was compiled to run on the web.
no setteroverride
- isWindows → bool
-
Whether the operating system is a version of Windows.
no setteroverride
- linux → bool
-
final
- macos → bool
-
final
- operatingSystem → String
-
The target operating system.
no setteroverride
- operatingSystemVersion → String
-
A string representing the version of the operating system or platform.
no setteroverride
- os → String
-
final
- osv → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- web → bool
-
final
- windows → bool
-
final
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