ShellContextPlatform class abstract
Platform info
Constructors
- ShellContextPlatform()
-
Current cached platform
factory
- ShellContextPlatform.android()
-
Android
factory
- ShellContextPlatform.ios()
-
iOS
factory
- ShellContextPlatform.linux()
-
Linux
factory
- ShellContextPlatform.macos()
-
MacOS
factory
- ShellContextPlatform.none()
-
None
factory
- ShellContextPlatform.web()
-
Web
factory
- ShellContextPlatform.windows()
-
Windows
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAndroid → bool
-
Is android
no setter
- isIOS → bool
-
Is ios
no setter
- isLinux → bool
-
Is linux
no setter
- isMacOS → bool
-
Is macos
no setter
- isNone → bool
-
None - no platform detected
no setter
- isWeb → bool
-
Is web
no setter
- isWindows → bool
-
Is windows
no setter
- 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