decode static method

PyTorchRect decode(
  1. Object result
)

Implementation

static PyTorchRect decode(Object result) {
  result as List<Object?>;
  return PyTorchRect(
    left: result[0]! as double,
    top: result[1]! as double,
    right: result[2]! as double,
    bottom: result[3]! as double,
    width: result[4]! as double,
    height: result[5]! as double,
  );
}