PlatformName enum
PlatformName Enumeration Documentation:
The PlatformName
enum represents the name of the platform, categorizing it into specific types.
Overview:
- This enumeration is used to identify the platform by its name.
- Each value of the enum represents a specific platform with its category, type, and company.
Values:
- android : Represents the Android platform, categorized as Android, with a mobile type and Google as the company.
- web_android : Represents the Android platform in a web context, categorized as Android, with a web type and Google as the company.
- iOS : Represents the iOS platform, categorized as iOS, with a mobile type and Apple as the company.
- web_iOS : Represents the iOS platform in a web context, categorized as iOS, with a web type and Apple as the company.
- macOs : Represents the macOS platform, categorized as macOS, with a desktop type and Apple as the company.
- web_macOs : Represents the macOS platform in a web context, categorized as macOS, with a web type and Apple as the company.
- windows : Represents the Windows platform, categorized as Windows, with a desktop type and Microsoft as the company.
- web_windows : Represents the Windows platform in a web context, categorized as Windows, with a web type and Microsoft as the company.
- linux : Represents the Linux platform, categorized as Linux, with a desktop type and Linux as the company.
- web_linux : Represents the Linux platform in a web context, categorized as Linux, with a web type and Linux as the company.
This enumeration is designed to simplify the identification and categorization of platforms, aiding in platform-specific logic and behavior.
Values
- android → const PlatformName
-
const PlatformName(PlatformCategory.android, PlatformType.mobile, PlatformCompany.google)
- web_android → const PlatformName
-
const PlatformName(PlatformCategory.android, PlatformType.web, PlatformCompany.google)
- iOS → const PlatformName
-
const PlatformName(PlatformCategory.iOS, PlatformType.mobile, PlatformCompany.apple)
- web_iOS → const PlatformName
-
const PlatformName(PlatformCategory.iOS, PlatformType.web, PlatformCompany.apple)
- macOs → const PlatformName
-
const PlatformName(PlatformCategory.macOs, PlatformType.desktop, PlatformCompany.apple)
- web_macOs → const PlatformName
-
const PlatformName(PlatformCategory.macOs, PlatformType.web, PlatformCompany.apple)
- windows → const PlatformName
-
const PlatformName(PlatformCategory.windows, PlatformType.desktop, PlatformCompany.microsoft)
- web_windows → const PlatformName
-
const PlatformName(PlatformCategory.windows, PlatformType.web, PlatformCompany.microsoft)
- linux → const PlatformName
-
const PlatformName(PlatformCategory.linux, PlatformType.desktop, PlatformCompany.linux)
- web_linux → const PlatformName
-
const PlatformName(PlatformCategory.linux, PlatformType.web, PlatformCompany.linux)
Properties
- category → PlatformCategory
-
final
- company → PlatformCompany
-
final
- 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
- type → PlatformType
-
final
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<
PlatformName> - A constant List of the values in this enum, in order of their declaration.