InferenceModelFile class

Model file for inference models (.bin, .task files)

Inheritance

Constructors

InferenceModelFile.new({required String url, required String filename})

Properties

extension String
File extension for validation purposes
no setterinherited
filename String
Local filename for this file
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
Whether this file is required for the model to function
no setteroverride
prefsKey String
SharedPreferences key for storing this file's installation status
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
URL from which this file can be downloaded
no setteroverride

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