BehaviorResponse class

Response to the request for obtaining the user behavior, which can be obtained by calling the getBehavior method provided by AwarenessCaptureClient.

Constructors

BehaviorResponse.new({int? elapsedRealtimeMillis, int? time, DetectedBehavior? mostLikelyBehavior, List<DetectedBehavior>? probableBehavior})
Default constructor.
BehaviorResponse.fromJson(String str)
factory
BehaviorResponse.fromMap(Map jsonMap)
Creates an instance of the class from a provided Map object.
factory

Properties

elapsedRealtimeMillis int?
Actual time (in milliseconds) used for this detection since startup.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mostLikelyBehavior DetectedBehavior?
Most likely behavior.
getter/setter pair
probableBehavior List<DetectedBehavior>?
Detected behaviors, which are sorted by confidence (most likely first).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time int?
Timestamp of the current detection.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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