rotate method

void rotate(
  1. int degree
)

rotate video content around the center. degree can be 0, 90, 180, 270 in counterclockwise. https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#void-rotateint-degree-void-vo_opaque--nullptr

Implementation

void rotate(int degree) =>
    _player.ref.rotate
        .asFunction<void Function(Pointer<mdkPlayer>, int, Pointer<Void>)>()(
      _player.ref.object,
      degree,
      _getVid(),
    );