RestApiDeviceType enum

Enum für verschiedene Gerätetypen, die mit der REST-API interagieren können

Jeder Typ hat eine eindeutige ID, die bei der Kommunikation mit dem Server verwendet wird.

Inheritance
Available extensions

Values

unkown → const RestApiDeviceType

Unbekannter oder nicht spezifizierter Gerätetyp (ID: 0)

const RestApiDeviceType(0)
android → const RestApiDeviceType

Android-Geräte (ID: 100)

const RestApiDeviceType(100)
ios → const RestApiDeviceType

iOS-Geräte (iPhone, iPad) (ID: 200)

const RestApiDeviceType(200)
web → const RestApiDeviceType

Web-Browser (ID: 300)

const RestApiDeviceType(300)
windows → const RestApiDeviceType

Windows-Geräte (ID: 400)

const RestApiDeviceType(400)
macos → const RestApiDeviceType

macOS-Geräte (ID: 500)

const RestApiDeviceType(500)

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
Die eindeutige ID des Gerätetyps, die an den Server gesendet wird
final
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

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