PlatformCategory enum
PlatformCategory Enumeration Documentation:
The PlatformCategory
enum represents the category of the platform, indicating its type of operating system.
Overview:
- This enumeration is used to categorize the platform into specific types of operating systems.
- Each value of the enum represents a distinct category, such as Android, macOS, iOS, Linux, or Windows.
Values:
- android : Represents the Android operating system category.
- macOs : Represents the macOS operating system category.
- iOS : Represents the iOS operating system category.
- linux : Represents the Linux operating system category.
- windows : Represents the Windows operating system category.
This enumeration simplifies the identification of the platform's operating system category, aiding in platform-specific logic and behavior.
Values
- android → const PlatformCategory
- macOs → const PlatformCategory
- iOS → const PlatformCategory
- linux → const PlatformCategory
- windows → const PlatformCategory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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
Constants
-
values
→ const List<
PlatformCategory> - A constant List of the values in this enum, in order of their declaration.