toRoundNative method
Converts the GRect to a rounded native RRect using the corners specified in the GRectCornerRadius class, or null for a rectangular RRect, and returns the native RRect instance.
Implementation
RRect toRoundNative() {
return corners!.toNative(this);
}