round method
Implementation
CustomPoint round() {
final x = this.x is double ? this.x.round() : this.x;
final y = this.y is double ? this.y.round() : this.y;
return CustomPoint(x, y);
}
CustomPoint round() {
final x = this.x is double ? this.x.round() : this.x;
final y = this.y is double ? this.y.round() : this.y;
return CustomPoint(x, y);
}