DeviceInfo class
Device information sent by the client during handshake.
Constructors
- DeviceInfo({required String name, required String app, String? os, String? appVersion})
-
const
Properties
- app → String
-
Application identifier (e.g. "com.example.myapp").
final
- appVersion → String?
-
Application version (e.g. "1.2.0+42").
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Human-readable device name (e.g. "iPhone 15 Pro", "Pixel 8").
final
- os → String?
-
Operating system (e.g. "iOS 18.1", "Android 15").
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited