GetModelByIdResponseModel class

GetModelByIdResponseModel class will store the data when we call the API to get the model details by using it'd id. This model will contain details like modelId, modelType, state, accuracy, categories etc. details about the model of the given id.

Constructors

GetModelByIdResponseModel({String? modelId, String? modelType, int? state, String? status, double? accuracy, List<Category>? categories, String? email, bool? isPublic, bool? isPaid})
GetModelByIdResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

accuracy double?
accuracy represents the accuracy of the OCR model.
getter/setter pair
categories List<Category>?
List of Category will give information about the categories/labels that are used in the given model.
getter/setter pair
email String?
email will return the email id of the account where the model is created.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isPaid bool?
isPaid tells about if the API is being created from a subcribed account or not.
getter/setter pair
isPublic bool?
isPublic tells the accessibility of the model.
getter/setter pair
modelId String?
modelId will be the id associated with the model.
getter/setter pair
modelType String?
modelType represents the type of classification model, which in case of OCR, will be "ocr".
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state int?
state will represent the state of the model.
getter/setter pair
status String?
status will tell about the current status of the model.
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