IdentifyResult class

What identify() resolves with.

Constructors

IdentifyResult({required String requestId, required String visitorId, required bool? visitorIsNew, required int? visitorConfidence, required bool? identifiable, required bool? duplicate, required String state, required String reason, required int? suspectScore, required String? suspectLevel, required SignalReport report})
const
IdentifyResult.fromJson(Map<String, dynamic> json)
factory
IdentifyResult.reportOnly(SignalReport report)
identify(submit: false): nothing was sent, so nobody answered and every server field is empty.
const

Properties

duplicate → bool?
True when this submission was answered before, and this answer belongs to the first one. Null when the server did not say.
final
hashCode → int
The hash code for this object.
no setterinherited
identifiable → bool?
False when the report carried too little to identify anyone. Null when the server did not say.
final
reason → String
Why, when state needs explaining. Empty when it does not.
final
report → SignalReport
The report that was sent, for debugging and for offline callers.
final
requestId → String
Empty when submit was false: nothing was sent, so an invented identifier would be worse than an empty one.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
The server's disposition of the check.
final
suspectLevel → String?
The score as a band — low, medium, high. Null exactly when suspectScore is.
final
suspectScore → int?
The server's score, or null when there is none to show.
final
visitorConfidence → int?
How sure the server is of visitorId, 0 to 100. Null when it did not say, which is not the same as 0.
final
visitorId → String
Who the server decided this is, stable across visits. Empty when nothing was submitted.
final
visitorIsNew → bool?
True when the server had never seen this visitor before. Null when it did not say.
final

Methods

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

Operators

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