StreamingRawPredictResponse.fromJson constructor
StreamingRawPredictResponse.fromJson(
- Object? j
Implementation
factory StreamingRawPredictResponse.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return StreamingRawPredictResponse(
output: switch (json['output']) {
null => Uint8List(0),
Object $1 => decodeBytes($1),
},
);
}