ModelStateResponse class

State common to all model types. Includes publishing and validation information.

Constructors

ModelStateResponse({required Input<bool> published, required Input<StatusResponse> validationError})
Creates a new ModelStateResponse. published Indicates if this model has been published. validationError Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
const
ModelStateResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
published → Input<bool>
Indicates if this model has been published.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validationError → Input<StatusResponse>
Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.
final

Methods

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

Operators

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