decode static method
Implementation
static ResultObjectDetection decode(Object result) {
result as List<Object?>;
return ResultObjectDetection(
classIndex: result[0]! as int,
className: result[1] as String?,
score: result[2]! as double,
rect: PyTorchRect.decode(result[3]! as List<Object?>),
);
}