MLVisionSearchProductImage.fromMap constructor

MLVisionSearchProductImage.fromMap(
  1. Map? map
)

Implementation

factory MLVisionSearchProductImage.fromMap(Map<dynamic, dynamic>? map) {
  if (map == null) {
    return const MLVisionSearchProductImage._();
  }
  return MLVisionSearchProductImage._(
    possibility: map['possibility'],
    imageId: map['imageId'],
    productId: map['productId'],
  );
}