StreamRawPredictRequest.fromJson constructor

StreamRawPredictRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory StreamRawPredictRequest.fromJson(Map<String, dynamic> json) {
  return StreamRawPredictRequest(
    endpoint: json['endpoint'] ?? '',
    httpBody: decode(json['httpBody'], HttpBody.fromJson),
  );
}