decode static method

PlaneWrapper decode(
  1. Object result
)

Implementation

static PlaneWrapper decode(Object result) {
  result as List<Object?>;
  return PlaneWrapper(
    bytes: result[0]! as Uint8List,
    bytesPerRow: result[1]! as int,
    bytesPerPixel: result[2] as int?,
    width: result[3] as int?,
    height: result[4] as int?,
  );
}