rotate method

Future<void> rotate(
  1. int degree
)

Rotates the image by the given degree clockwise. The degree should be a multiple of 90 (e.g, 90, 180, -90, etc.).

Implementation

Future<void> rotate(int degree) =>
    channel.invokeMethod<void>("rotate", degree);