addRRect method Null safety

void addRRect(
  1. RRect rrect
)

Adds a new sub-path that consists of the straight lines and curves needed to form the rounded rectangle described by the argument.

Implementation

void addRRect(RRect rrect) {
  assert(_rrectIsValid(rrect));
  _addRRect(rrect._getValue32());
}