rotate method

void rotate(
  1. int degree, {
  2. Object? vid,
})

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, {Object? vid}) => _player.ref.rotate
        .asFunction<void Function(Pointer<mdkPlayer>, int, Pointer<Void>)>()(
    _player.ref.object, degree, Pointer.fromAddress(vid.hashCode));