Impression class

Represents an impression when a feature flag is evaluated.

Constructors

Impression(String? key, String? bucketingKey, String? split, String? treatment, num? time, String? appliedRule, num? changeNumber, Map<String, dynamic> attributes, Map<String, dynamic>? properties)
Creates a new Impression instance.

Properties

appliedRule String?
The rule label.
final
attributes Map<String, dynamic>
The attributes.
final
bucketingKey String?
The traffic bucketing key.
final
changeNumber num?
The version of the feature flag.
final
hashCode int
The hash code for this object.
no setterinherited
key String?
The traffic matching key.
final
properties Map<String, dynamic>?
The impression properties.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
split String?
The name of the feature flag.
final
time num?
The impression timestamp.
final
treatment String?
The treatment value.
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

Static Methods

fromMap(Map map) Impression
Creates a new Impression instance from a map.