PlatformMedia enum
What kind of platform the app is running?
Constructors
- PlatformMedia()
-
const
Values
- web → const PlatformMedia
-
App running on a web browser (Flutter Web)
- desktop → const PlatformMedia
-
App running on a native desktop enviroment (Windows, Linux or MacOS)
- mobile → const PlatformMedia
-
App running on a mobile device (Android or iOS)
- unknown → const PlatformMedia
-
Could not determine the media
Properties
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
Constants
-
values
→ const List<
PlatformMedia> - A constant List of the values in this enum, in order of their declaration.