AppTargetInfo class
Object encapsulating information about the platform on which the app is currently executing.
Properties
- defaultPlatform → TargetPlatform
-
The TargetPlatform that matches the platform on which the framework is currently executing
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAndroid → bool
-
Indicates application is running on Android
final
- isDesktop → bool
-
Indicates application is running on a desktop device
final
- isDesktopWeb → bool
-
Indicates application is running on a desktop browser
final
- isFuchsia → bool
-
Indicates application is running on Fuchsia
final
- isIOS → bool
-
Indicates application is running on iOS
final
- isLinux → bool
-
Indicates application is running on Linux
final
- isMacOS → bool
-
Indicates application is running on MacOS
final
- isMobile → bool
-
Indicates application is running on a mobile device
final
- isMobileWeb → bool
-
Indicates application is running on a mobile browser
final
- isTablet ↔ bool
-
Indicates application is running on a tablet device
latefinal
- isWeb → bool
-
Indicates application was compiled to run on the web
final
- isWindows → bool
-
Indicates application is running on Windows
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
-
prettyPrint(
) → void -
Pretty print the JSON representation of the informational object
inherited
-
toJson(
) → Map< String, dynamic> - Represent results as JSON map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited