PlatformTarget enum Null safety

Extends on TargetPlatform to include web

Constants

android → const PlatformTarget

Android: www.android.com/

const PlatformTarget(0)
fuchsia → const PlatformTarget

Fuchsia: fuchsia.googlesource.com/

const PlatformTarget(1)
iOS → const PlatformTarget

iOS: www.apple.com/ios/

const PlatformTarget(2)
linux → const PlatformTarget

Linux: www.linux.org

const PlatformTarget(3)
macOS → const PlatformTarget

macOS: www.apple.com/macos

const PlatformTarget(4)
values → const List<PlatformTarget>

A constant List of the values in this enum, in order of their declaration.

const List<PlatformTarget>
web → const PlatformTarget
const PlatformTarget(6)
windows → const PlatformTarget

Windows: www.windows.com

const PlatformTarget(5)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited