Model class

An ML model hosted in Firebase ML

Constructors

Model({List<Operation>? activeOperations, String? createTime, String? displayName, String? etag, String? modelHash, String? name, ModelState? state, List<String>? tags, TfLiteModel? tfliteModel, String? updateTime})
Model.fromJson(Map json_)

Properties

activeOperations List<Operation>?
Lists operation ids associated with this model whose status is NOT done.
getter/setter pair
createTime String?
Timestamp when this model was created in Firebase ML.
getter/setter pair
displayName String?
The name of the model to create.
getter/setter pair
etag String?
See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
modelHash String?
The model_hash will change if a new file is available for download.
getter/setter pair
name String?
The resource name of the Model.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ModelState?
State common to all model types.
getter/setter pair
tags List<String>?
User defined tags which can be used to group/filter models during listing
getter/setter pair
tfliteModel TfLiteModel?
A TFLite Model
getter/setter pair
updateTime String?
Timestamp when this model was updated in Firebase ML.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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