Attributes class
Defines what kind of data is sent to the Ackee server
Please keep in mind that browserName
, browserVersion
, osName
, and osVersion
are used to generate User Agent.
In Ackee, User Agent is combined with IP to calculate the unique identifier for each user ()
Constructors
- Attributes({required String location, String? referrer, String? source, String? language, double? screenWidth, double? screenHeight, int? screenColorDepth, String? deviceName, String? deviceManufacturer, String? osName, String? osVersion, String? browserName, String? browserVersion, double? browserWidth, double? browserHeight})
-
const
Properties
- browserHeight → double?
-
final
- browserName → String?
-
final
- browserVersion → String?
-
final
- browserWidth → double?
-
final
- deviceManufacturer → String?
-
final
- deviceName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- json → Map
-
no setter
- language → String?
-
ru, en, etc
final
- location → String
-
Current URL of your website/app
NEEDS TO BE A VALID URL
final
- osName → String?
-
final
- osVersion → String?
-
final
- referrer → String?
-
NEEDS TO BE A VALID URL
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenColorDepth → int?
-
final
- screenHeight → double?
-
final
- screenWidth → double?
-
final
- source → String?
-
final
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