factory Point.allocate(Pointer<Uint8>? x, Pointer<Uint8>? y) { final pointer = calloc<Point>(); return pointer.ref ..address = pointer ..x = x ..y = y; }