incrementY method

  1. @override
Position incrementY(
  1. num n
)
override

Increments the Y coordinate by n

Implementation

@override
Position incrementY(num n) => translate = translate.incrementY(n);