TireTreadPlugin class

Main entry point for the Anyline Tire Tread SDK Flutter Plugin.

This class provides all functionality to scan and analyze tire tread depth, including SDK initialization, scanning operations, result retrieval, and feedback submission.

Constructors

TireTreadPlugin()
Creates a new instance of TireTreadPlugin.

Properties

hashCode int
The hash code for this object.
no setterinherited
onScanningEvent Stream<ScanEvent>
Stream of scanning events during the tire scanning process.
no setter
pluginVersion Future<String>
Gets the version of this Flutter plugin.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkVersion Future<String?>
Gets the version of the native Anyline Tire Tread SDK.
no setter

Methods

clearExperimentalFlags() Future<void>
Clears all experimental feature flags.
getHeatMap({required String measurementUUID}) Future<String?>
Retrieves the heatmap image for a completed measurement.
getResult({required String measurementUUID}) Future<TreadDepthResult?>
Retrieves the detailed tread depth result for a completed measurement.
initialize(String licenseKey) Future<bool?>
Initializes the Anyline SDK with the provided license key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scan({required TireTreadConfig config}) Future<bool?>
Starts a tire tread scanning session with the provided configuration.
sendFeedbackComment({required String measurementUUID, required String comment}) Future<String?>
Submits a text feedback comment for a measurement.
sendTreadDepthResultFeedback({required String measurementUUID, required List<TreadResultRegion> resultRegions}) Future<String?>
Submits corrected tread depth measurement feedback.
setExperimentalFlags({required List<String> experimentalFlags}) Future<void>
Enables experimental features by setting feature flags.
toString() String
A string representation of this object.
inherited

Operators

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