setFrameRate method

  1. @override
Future setFrameRate(
  1. int framerate
)
override

Implementation

@override
Future setFrameRate(int framerate) async {
  final interval = 1000.0 / framerate;
  set_frame_interval_ffi(_viewer!, interval);
}