StreamingRawPredictRequest.fromJson constructor

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

Implementation

factory StreamingRawPredictRequest.fromJson(Map<String, dynamic> json) {
  return StreamingRawPredictRequest(
    endpoint: json['endpoint'] ?? '',
    methodName: json['methodName'] ?? '',
    input: decodeBytes(json['input']),
  );
}