Curiosity class

Entry point of the plugin.

Provides platform helpers and native tools.

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

isAndroid → bool
Whether the app is running on Android.
no setter
isDesktop → bool
Whether the app is running on a desktop platform.
no setter
isFuchsia → bool
Whether the app is running on Fuchsia.
no setter
isHarmonyOS → bool
Whether the app is running on HarmonyOS.
no setter
isIOS → bool
Whether the app is running on iOS.
no setter
isLinux → bool
Whether the app is running on Linux.
no setter
isMacOS → bool
Whether the app is running on macOS.
no setter
isMobile → bool
Whether the app is running on a mobile device.
no setter
isWindows → bool
Whether the app is running on Windows.
no setter
native → NativeTools
Native tools, such as keyboard status, GPS status and installed apps.
no setter

Constants

isDebug → const bool
Whether the app is running in debug mode.
isProfile → const bool
Whether the app is running in profile mode.
isRelease → const bool
Whether the app is running in release mode.
isWeb → const bool
Whether the app is running on web.