FirebaseCustomModel class
Stores information about custom models that are being downloaded or are already downloaded on a device
In the case where an update is available, after the updated model file is fully downloaded, the original model file will be removed once it is safe to do so.
Constructors
- FirebaseCustomModel({required File file, required int size, required String name, required String hash})
- Creates a new FirebaseCustomModel instance.
Properties
- file → File
-
The locally downloaded model file.
final
- hash → String
-
Retrieves the model hash.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
The model name and identifier.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The size of the file currently associated with this model.
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 o) → bool -
The equality operator.
override