YOLOMethodChannel class
An implementation of YOLOPlatform that uses method channels.
This class provides the default implementation for communicating with platform-specific YOLO implementations through Flutter's method channel API. It handles single image predictions and other static YOLO operations.
This implementation is automatically registered as the default platform interface and should not be instantiated directly.
- Inheritance
-
- Object
- PlatformInterface
- YOLOPlatform
- YOLOMethodChannel
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
Returns the current platform version.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setModel(
int viewId, String modelPath, String task) → Future< void> -
Sets the model for an existing YOLO view.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited