PlatformCompany enum

PlatformCompany Enumeration Documentation:

The PlatformCompany enum represents the company associated with the platform, indicating the creator or provider of the operating system.

Overview:

  • This enumeration is used to identify the company associated with the platform, such as Apple, Google, Linux, or Microsoft.
  • Each value of the enum represents a specific company.

Values:

  • apple : Represents the Apple company, applicable when the target platform is iOS or macOS.
  • google : Represents the Google company, applicable when the target platform is Android.
  • linux : Represents the Linux company, applicable when the target platform is Linux.
  • microsoft : Represents the Microsoft company, applicable when the target platform is Windows.

This enumeration simplifies the identification of the platform's associated company, aiding in platform-specific logic and behavior.

Inheritance

Constructors

PlatformCompany()
const

Values

apple → const PlatformCompany
google → const PlatformCompany
linux → const PlatformCompany
microsoft → const PlatformCompany

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<PlatformCompany>
A constant List of the values in this enum, in order of their declaration.