StreamDirectRawPredictRequest.fromJson constructor

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

Implementation

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