PlatformType enum

Platform Type based on the TargetPlatform and thekIsWeb

If the kIsWeb is true, it will be web. If the kIsWeb is false, it will be obtained based on the TargetPlatform.

See also:

Inheritance

Constructors

PlatformType()
const

Values

android → const PlatformType
fuchsia → const PlatformType
iOS → const PlatformType
macOS → const PlatformType
windows → const PlatformType
linux → const PlatformType
web → const PlatformType

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<PlatformType>
A constant List of the values in this enum, in order of their declaration.