renderTriangle method Null safety

void renderTriangle(
  1. num x1,
  2. num y1,
  3. num x2,
  4. num y2,
  5. num x3,
  6. num y3,
  7. int color
)

Implementation

void renderTriangle(
    num x1, num y1, num x2, num y2, num x3, num y3, int color) {
  _renderContext.renderTriangle(this, x1, y1, x2, y2, x3, y3, color);
}