toPRectangle method

PRectangle toPRectangle({
  1. num x = 0,
  2. num y = 0,
})

Implementation

PRectangle toPRectangle({num x = 0, num y = 0}) =>
    PRectangle(x, y, width, height);