KletsoDevice class final

Describes the device to the runtime when a session is created.

Annotations
  • @immutable

Constructors

KletsoDevice({required String platform, String sdk = 'kletso_core', String version = '0.1.0', String locale = 'en'})
Creates a device description.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
locale → String
BCP-47 locale tag.
final
platform → String
android, ios, web, macos, windows, linux, fuchsia or test.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdk → String
SDK package name.
final
version → String
SDK version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → JsonMap
Wire form.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited