RemoteModelManager class
Class to manage firebase remote models.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteModel(
String modelTag) → Future< String> -
Deletes a model.
Returns
success
if model is deleted successfully or model is not present. -
downloadModel(
String modelTag, {bool isWifiRequired = true}) → Future< String> -
Downloads a model.
Returns
success
if model downloads successfully or model is already downloaded. On failing to download it throws an error. -
isModelDownloaded(
String modelName) → Future< bool> -
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