NmXRayInsight class
A single insight generated from property analysis
Constructors
-
NmXRayInsight({required NmXRayInsightType type, required NmXRayInsightCategory category, required String title, required String description, String? field, double? confidence, String? actionHint, Map<
String, dynamic> ? metadata}) -
Creates a NmXRayInsight.
const
Properties
- actionHint → String?
-
Action hint.
final
- category → NmXRayInsightCategory
-
Category.
final
- confidence → double?
-
Confidence.
final
- confidenceText → String?
-
Confidence as a percentage string
no setter
- description → String
-
Description.
final
- field → String?
-
Field.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → NmIconData
-
Icon.
no setter
- isHighPriority → bool
-
Whether this insight should be highlighted prominently
no setter
-
metadata
→ Map<
String, dynamic> ? -
Metadata.
final
- priority → int
-
Priority for display ordering (lower = show first)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Title.
final
- type → NmXRayInsightType
-
Type.
final
Methods
-
colorIn(
NmColors c) → Color -
Colour of the insight's type in the theme
c. -
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.
override