Platform enum Null safety

Enum for possible platforms to build the app for

Inheritance

Constructors

Platform()
const

Values

android → const Platform
const Platform(0)
ios → const Platform
const Platform(1)
web → const Platform
const Platform(2)
windows → const Platform
const Platform(3)
linux → const Platform
const Platform(4)
macos → const Platform
const Platform(5)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<Platform>
A constant List of the values in this enum, in order of their declaration.
[android, ios, web, windows, linux, macos]