GetModelResult constructor

const GetModelResult({
  1. required List<OperationResponse> activeOperations,
  2. required String createTime,
  3. required String displayName,
  4. required String etag,
  5. required String modelHash,
  6. required String name,
  7. required ModelStateResponse state,
  8. required List<String> tags,
  9. required TfLiteModelResponse tfliteModel,
  10. required String updateTime,
})

Creates a new GetModelResult. activeOperations Lists operation ids associated with this model whose status is NOT done. createTime Timestamp when this model was created in Firebase ML. displayName The name of the model to create. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores(_) and ASCII digits 0-9. It must start with a letter. etag See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3 modelHash The model_hash will change if a new file is available for download. name The resource name of the Model. Model names have the form projects/{project_id}/models/{model_id} The name is ignored when creating a model. state State common to all model types. Includes publishing and validation information. tags User defined tags which can be used to group/filter models during listing tfliteModel A TFLite Model updateTime Timestamp when this model was updated in Firebase ML.

Implementation

const GetModelResult({
  required this.activeOperations,
  required this.createTime,
  required this.displayName,
  required this.etag,
  required this.modelHash,
  required this.name,
  required this.state,
  required this.tags,
  required this.tfliteModel,
  required this.updateTime,
});